@vixoniccom/module-packager 2.5.0-dev.11 → 2.5.0-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/package.json +2 -2
- package/webpack.config.js +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.5.0-dev.13](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.12...v2.5.0-dev.13) (2021-08-20)
|
|
6
|
+
|
|
7
|
+
## [2.5.0-dev.12](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.11...v2.5.0-dev.12) (2021-08-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **release:** clean webpack plugin was upgrated ([c4a5103](https://gitlab.com/mandomedio/vixonic/module-packager/commit/c4a51030b9dc9402b183cd9cab1e15c41b510855))
|
|
13
|
+
|
|
5
14
|
## [2.5.0-dev.11](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.10...v2.5.0-dev.11) (2021-08-20)
|
|
6
15
|
|
|
7
16
|
## [2.5.0-dev.10](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0-dev.9...v2.5.0-dev.10) (2021-08-20)
|
package/package.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"babel-polyfill": "^6.26.0",
|
|
61
61
|
"babel-preset-env": "^1.7.0",
|
|
62
62
|
"babel-preset-react": "^6.24.1",
|
|
63
|
-
"clean-webpack-plugin": "^
|
|
63
|
+
"clean-webpack-plugin": "^4.0.0-alpha.0",
|
|
64
64
|
"cli-color": "^2.0.0",
|
|
65
65
|
"command-line-args": "^5.2.0",
|
|
66
66
|
"copy-webpack-plugin": "^9.0.1",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"release": "standard-version",
|
|
103
103
|
"prerelease-dev": "standard-version --prerelease dev"
|
|
104
104
|
},
|
|
105
|
-
"version": "2.5.0-dev.
|
|
105
|
+
"version": "2.5.0-dev.13",
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"standard-version": "^9.3.1"
|
|
108
108
|
}
|
package/webpack.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const CleanWebpackPlugin = require('clean-webpack-plugin')
|
|
3
|
+
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
|
|
4
4
|
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
|
5
5
|
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
|
6
6
|
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
@@ -149,10 +149,7 @@ module.exports = (options) => {
|
|
|
149
149
|
}
|
|
150
150
|
} else {
|
|
151
151
|
config.plugins.unshift(
|
|
152
|
-
new CleanWebpackPlugin([path.basename(options.build), path.basename(options.build) + '.zip'],
|
|
153
|
-
root: path.resolve(options.build, '..'),
|
|
154
|
-
verbose: false
|
|
155
|
-
}),
|
|
152
|
+
new CleanWebpackPlugin([path.basename(options.build), path.basename(options.build) + '.zip']),
|
|
156
153
|
new webpack.DefinePlugin({
|
|
157
154
|
'process.env': {
|
|
158
155
|
NODE_ENV: JSON.stringify('production')
|