Skip to content

Commit abba817

Browse files
Fixed terser plugin in webpack config
1 parent 17dd825 commit abba817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const HtmlConfig = require(path.join(__dirname, 'html.config'));
66
const CleanPlugin = require('clean-webpack-plugin');
77
const os = require('os');
88
const ESLintPlugin = require('eslint-webpack-plugin');
9-
import TerserPlugin from 'terser-webpack-plugin';
9+
const TerserPlugin = require('terser-webpack-plugin');
1010

1111
const deploy = path.join(__dirname, 'deploy');
1212

0 commit comments

Comments
 (0)