Browse Source

Merge pull request #4218 from xQwexx/build-failure

Fix terser-webpack-plugin not found
pull/4224/head
Artur Arseniev 4 years ago
committed by GitHub
parent
commit
bee8bf7673
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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