@vixoniccom/module-packager 2.5.1 → 2.5.2-test.0
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 +2 -0
- package/package.json +3 -1
- package/webpack.config.js +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.2-test.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.1...v2.5.2-test.0) (2022-03-31)
|
|
6
|
+
|
|
5
7
|
### [2.5.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.1-dev.0...v2.5.1) (2021-11-12)
|
|
6
8
|
|
|
7
9
|
### [2.5.1-dev.0](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.5.0...v2.5.1-dev.0) (2021-10-20)
|
package/package.json
CHANGED
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"raw-loader": "^0.5.1",
|
|
77
77
|
"sass-loader": "^4.0.2",
|
|
78
78
|
"style-loader": "^0.13.1",
|
|
79
|
+
"terser-webpack-plugin": "^5.3.1",
|
|
79
80
|
"ts-node": "^10.2.1",
|
|
80
81
|
"typescript": "^4.3.5",
|
|
81
82
|
"webpack": "^3.12.0",
|
|
@@ -100,9 +101,10 @@
|
|
|
100
101
|
"start": "electron",
|
|
101
102
|
"prerelease-dev": "standard-version --prerelease dev",
|
|
102
103
|
"prerelease-rc": "standard-version --prerelease rc",
|
|
104
|
+
"prerelease-test": "standard-version --prerelease test",
|
|
103
105
|
"release": "standard-version"
|
|
104
106
|
},
|
|
105
|
-
"version": "2.5.
|
|
107
|
+
"version": "2.5.2-test.0",
|
|
106
108
|
"devDependencies": {
|
|
107
109
|
"standard-version": "^9.3.1"
|
|
108
110
|
}
|
package/webpack.config.js
CHANGED
|
@@ -98,6 +98,16 @@ module.exports = (options) => {
|
|
|
98
98
|
}
|
|
99
99
|
callback()
|
|
100
100
|
},
|
|
101
|
+
optimization: {
|
|
102
|
+
minimize: true,
|
|
103
|
+
minimizer: [new TerserPlugin({
|
|
104
|
+
parallel: true,
|
|
105
|
+
terserOptions: {
|
|
106
|
+
ecma: 6,
|
|
107
|
+
warnings: false
|
|
108
|
+
},
|
|
109
|
+
})],
|
|
110
|
+
},
|
|
101
111
|
plugins: [
|
|
102
112
|
new CopyWebpackPlugin([{ from: path.resolve(options.src, 'static'), to: 'static/' }], { copyUnmodified: true }),
|
|
103
113
|
new HtmlWebpackPlugin({
|
|
@@ -142,14 +152,6 @@ module.exports = (options) => {
|
|
|
142
152
|
'process.env': {
|
|
143
153
|
NODE_ENV: JSON.stringify('production')
|
|
144
154
|
}
|
|
145
|
-
}),
|
|
146
|
-
new webpack.optimize.UglifyJsPlugin({
|
|
147
|
-
compress: {
|
|
148
|
-
warnings: false
|
|
149
|
-
},
|
|
150
|
-
mangle: true,
|
|
151
|
-
minimize: true,
|
|
152
|
-
comments: false
|
|
153
155
|
})
|
|
154
156
|
)
|
|
155
157
|
|