Browse Source

fix CleanWebpackPlugin webpack plugin upgrade

pull/715/head
koalyptus 2 years ago
parent
commit
da270df5d6
  1. 4
      dist/starter.html
  2. 2
      dist/tablefilter/tf-0-65164f6a70f248e3da03.js
  3. 1
      dist/tablefilter/tf-0-65164f6a70f248e3da03.js.map
  4. 82
      package-lock.json
  5. 4
      webpack.config.js
  6. 4
      webpack.test.config.js

4
dist/starter.html

@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>tablefilter v0.6.92 - Starter</title>
<title>tablefilter v0.6.93 - Starter</title>
</head>
<body>
<h1>tablefilter v0.6.92</h1>
<h1>tablefilter v0.6.93</h1>

2
dist/tablefilter/tf-0-65164f6a70f248e3da03.js
File diff suppressed because it is too large
View File

1
dist/tablefilter/tf-0-65164f6a70f248e3da03.js.map
File diff suppressed because it is too large
View File

82
package-lock.json

@ -1,6 +1,6 @@
{
"name": "tablefilter",
"version": "0.6.92",
"version": "0.6.93",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -2298,9 +2298,9 @@
"integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==",
"dev": true,
"requires": {
"@types/events": "*",
"@types/minimatch": "*",
"@types/node": "*"
"@types/events": "3.0.0",
"@types/minimatch": "3.0.3",
"@types/node": "10.0.4"
}
},
"@types/minimatch": {
@ -2327,7 +2327,7 @@
"integrity": "sha512-SudIN9TRJ+v8g5pTG8RRCqfqTMNqgWCKKd3vtynhGzkIIjxaicNAMuY5TRadJ6tzDu3Dotf3ngaMILtmOdmWEQ==",
"dev": true,
"requires": {
"source-map": "^0.6.1"
"source-map": "0.6.1"
},
"dependencies": {
"source-map": {
@ -2344,11 +2344,11 @@
"integrity": "sha512-mNARoaSJTzbiHxtZbf9NULFilu2frqD+g9Iyl9V2jPYJWXi+AC3Hz8lQWPZ5LLtgUm7iF4SDDMB/1bPrbRQgFw==",
"dev": true,
"requires": {
"@types/anymatch": "*",
"@types/node": "*",
"@types/tapable": "*",
"@types/uglify-js": "*",
"source-map": "^0.6.0"
"@types/anymatch": "1.3.1",
"@types/node": "10.0.4",
"@types/tapable": "1.0.4",
"@types/uglify-js": "3.0.4",
"source-map": "0.6.1"
},
"dependencies": {
"source-map": {
@ -4057,8 +4057,8 @@
"integrity": "sha512-MciirUH5r+cYLGCOL5JX/ZLzOZbVr1ot3Fw+KcvbhUb6PM+yycqd9ZhIlcigQ5gl+XhppNmw3bEFuaaMNyLj3A==",
"dev": true,
"requires": {
"@types/webpack": "^4.4.31",
"del": "^4.1.1"
"@types/webpack": "4.4.32",
"del": "4.1.1"
}
},
"cli-cursor": {
@ -4712,13 +4712,13 @@
"integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==",
"dev": true,
"requires": {
"@types/glob": "^7.1.1",
"globby": "^6.1.0",
"is-path-cwd": "^2.0.0",
"is-path-in-cwd": "^2.0.0",
"p-map": "^2.0.0",
"pify": "^4.0.1",
"rimraf": "^2.6.3"
"@types/glob": "7.1.1",
"globby": "6.1.0",
"is-path-cwd": "2.1.0",
"is-path-in-cwd": "2.1.0",
"p-map": "2.1.0",
"pify": "4.0.1",
"rimraf": "2.6.3"
},
"dependencies": {
"glob": {
@ -4727,12 +4727,12 @@
"integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
"fs.realpath": "1.0.0",
"inflight": "1.0.6",
"inherits": "2.0.3",
"minimatch": "3.0.4",
"once": "1.4.0",
"path-is-absolute": "1.0.1"
}
},
"is-path-cwd": {
@ -4747,7 +4747,7 @@
"integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==",
"dev": true,
"requires": {
"is-path-inside": "^2.1.0"
"is-path-inside": "2.1.0"
}
},
"is-path-inside": {
@ -4756,7 +4756,7 @@
"integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==",
"dev": true,
"requires": {
"path-is-inside": "^1.0.2"
"path-is-inside": "1.0.2"
}
},
"p-map": {
@ -4777,7 +4777,7 @@
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
"dev": true,
"requires": {
"glob": "^7.1.3"
"glob": "7.1.4"
}
}
}
@ -7162,11 +7162,11 @@
"integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=",
"dev": true,
"requires": {
"array-union": "^1.0.1",
"glob": "^7.0.3",
"object-assign": "^4.0.1",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0"
"array-union": "1.0.2",
"glob": "7.1.2",
"object-assign": "4.1.1",
"pify": "2.3.0",
"pinkie-promise": "2.0.1"
},
"dependencies": {
"pify": {
@ -12394,7 +12394,7 @@
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
"dev": true,
"requires": {
"locate-path": "^3.0.0"
"locate-path": "3.0.0"
}
},
"json-schema-traverse": {
@ -12409,8 +12409,8 @@
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"dev": true,
"requires": {
"p-locate": "^3.0.0",
"path-exists": "^3.0.0"
"p-locate": "3.0.0",
"path-exists": "3.0.0"
}
},
"make-dir": {
@ -12438,7 +12438,7 @@
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
"dev": true,
"requires": {
"p-limit": "^2.0.0"
"p-limit": "2.2.0"
}
},
"p-try": {
@ -12459,7 +12459,7 @@
"integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
"dev": true,
"requires": {
"find-up": "^3.0.0"
"find-up": "3.0.0"
}
},
"schema-utils": {
@ -12468,9 +12468,9 @@
"integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==",
"dev": true,
"requires": {
"ajv": "^6.1.0",
"ajv-errors": "^1.0.0",
"ajv-keywords": "^3.1.0"
"ajv": "6.10.0",
"ajv-errors": "1.0.1",
"ajv-keywords": "3.1.0"
}
},
"semver": {

4
webpack.config.js

@ -1,6 +1,6 @@
const webpack = require('webpack');
const path = require('path');
const Clean = require('clean-webpack-plugin');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
const StringReplacePlugin = require('string-replace-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const fs = require('fs');
@ -67,7 +67,7 @@ module.exports = {
]
},
plugins: [
new Clean({
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: [path.join(process.cwd(), 'dist')]
}),
new webpack.optimize.AggressiveMergingPlugin(),

4
webpack.test.config.js

@ -1,7 +1,7 @@
const webpack = require('webpack');
const webpackConfig = require('./webpack.config.js');
const path = require('path');
const Clean = require('clean-webpack-plugin');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
module.exports = {
mode: 'development',
@ -23,7 +23,7 @@ module.exports = {
},
devtool: 'source-map',
plugins: [
new Clean({
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: [path.join(process.cwd(), 'dist')]
}),
new webpack.LoaderOptionsPlugin({

Loading…
Cancel
Save