Browse Source

Fix terser-webpack-plugin not found

pull/4218/head
Alex 4 years ago
parent
commit
dfffc30ac7
  1. 1
      package.json
  2. 2
      webpack.config.js
  3. 24610
      yarn.lock

1
package.json

@ -36,6 +36,7 @@
"prettier": "^2.4.1",
"sass": "^1.42.1",
"sinon": "^7.5.0",
"terser-webpack-plugin": "^5.3.1",
"vuepress": "^1.8.2",
"whatwg-fetch": "^3.6.2"
},

2
webpack.config.js

@ -1,7 +1,7 @@
import path from 'path';
import webpack from 'webpack';
import pkg from './package.json';
import TerserPlugin from 'grapesjs-cli/node_modules/terser-webpack-plugin';
import TerserPlugin from 'terser-webpack-plugin';
const rootDir = path.resolve(__dirname);

24610
yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save