From d4c8660f5f6b996bdc905621b9cce64b288bd06c Mon Sep 17 00:00:00 2001 From: hnsylitao Date: Sun, 4 Oct 2020 20:04:33 +0800 Subject: [PATCH] fix merge --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 0af578d..5b51432 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ const srcPath = path.resolve(rootPath, 'src'); const pkg = require('./package.json'); const libraryName = 'ReactDPlayer'; const webpack = require('webpack'); -const merge = require('webpack-merge'); +const { merge } = require('webpack-merge'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin');