Update webpack packages
[MAILPOET-2953]
This commit is contained in:
1386
package-lock.json
generated
1386
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -115,8 +115,8 @@
|
||||
"babel-plugin-typescript-to-proptypes": "^1.2.1",
|
||||
"chai": "^4.2.0",
|
||||
"chai-jq": "0.0.9",
|
||||
"clean-webpack-plugin": "^1.0.0",
|
||||
"copy-webpack-plugin": "^5.1.1",
|
||||
"clean-webpack-plugin": "^3.0.0",
|
||||
"copy-webpack-plugin": "^6.0.2",
|
||||
"cross-env": "^5.1.5",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-airbnb": "^18.0.1",
|
||||
@ -145,11 +145,11 @@
|
||||
"stylelint": "^13.5.0",
|
||||
"stylelint-order": "^4.1.0",
|
||||
"stylelint-scss": "^3.17.2",
|
||||
"terser-webpack-plugin": "^1.4.3",
|
||||
"terser-webpack-plugin": "^3.0.3",
|
||||
"ts-loader": "^7.0.1",
|
||||
"typescript": "^3.8.2",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack-cli": "^3.2.1",
|
||||
"webpack-manifest-plugin": "^2.0.4"
|
||||
"webpack-cli": "^3.3.11",
|
||||
"webpack-manifest-plugin": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
const webpack = require('webpack');
|
||||
const webpackManifestPlugin = require('webpack-manifest-plugin');
|
||||
const webpackCleanPlugin = require('clean-webpack-plugin');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const webpackTerserPlugin = require('terser-webpack-plugin');
|
||||
const webpackCopyPlugin = require('copy-webpack-plugin');
|
||||
const path = require('path');
|
||||
@ -59,9 +59,7 @@ const baseConfig = {
|
||||
fs: 'empty'
|
||||
},
|
||||
plugins: [
|
||||
new webpackCleanPlugin([
|
||||
'./assets/dist/js/*',
|
||||
]),
|
||||
new CleanWebpackPlugin(),
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
@ -205,12 +203,14 @@ const adminConfig = {
|
||||
plugins: [
|
||||
...baseConfig.plugins,
|
||||
|
||||
new webpackCopyPlugin([
|
||||
{
|
||||
from: 'node_modules/tinymce/skins/ui/oxide',
|
||||
to: 'skins/ui/oxide'
|
||||
},
|
||||
])
|
||||
new webpackCopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: 'node_modules/tinymce/skins/ui/oxide',
|
||||
to: 'skins/ui/oxide'
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
optimization: {
|
||||
runtimeChunk: {
|
||||
|
Reference in New Issue
Block a user