@vixoniccom/module-packager 2.7.0-test.12 → 2.7.0-test.14
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 +14 -0
- package/package.json +1 -1
- package/webpack.config.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.7.0-test.14](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.13...v2.7.0-test.14) (2022-07-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **reease:** imports changes were reverted ([a449420](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a449420bc9e48695aba99576caa592e209ba33ca))
|
|
11
|
+
|
|
12
|
+
## [2.7.0-test.13](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.12...v2.7.0-test.13) (2022-07-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **release:** all requires were updated by imports and also new webpack properties were added to the configuration ([d9a73d6](https://gitlab.com/mandomedio/vixonic/module-packager/commit/d9a73d6e7f2ae31cbbdb475a38bd07fa7159e7ca))
|
|
18
|
+
|
|
5
19
|
## [2.7.0-test.12](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.11...v2.7.0-test.12) (2022-07-15)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -7,7 +7,6 @@ const webpack = require('webpack')
|
|
|
7
7
|
const path = require('path')
|
|
8
8
|
const _ = require('lodash')
|
|
9
9
|
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
|
10
|
-
const fs = require('fs')
|
|
11
10
|
|
|
12
11
|
module.exports = (options) => {
|
|
13
12
|
if (options.target === 'web') {
|
|
@@ -23,12 +22,17 @@ module.exports = (options) => {
|
|
|
23
22
|
console.log('exclude ', exclude)
|
|
24
23
|
console.log('Options: ', options, options.src)
|
|
25
24
|
let config = {
|
|
25
|
+
mode: 'production',
|
|
26
26
|
context: __dirname,
|
|
27
27
|
entry: ['babel-polyfill', path.resolve(options.src, 'main')],
|
|
28
28
|
output: {
|
|
29
29
|
path: path.resolve(options.build),
|
|
30
30
|
filename: 'main.js'
|
|
31
31
|
},
|
|
32
|
+
performance: {
|
|
33
|
+
maxAssetSize: 1000000,
|
|
34
|
+
maxEntrypointSize: 1000000
|
|
35
|
+
},
|
|
32
36
|
node: {
|
|
33
37
|
__dirname: options.mode === 'watch',
|
|
34
38
|
fs: 'empty',
|