@qse/edu-scripts 1.13.3 → 1.13.4
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 +4 -0
- package/lib/build.js +1 -1
- package/lib/config/webpackConfig.js +1 -1
- package/package.json +4 -4
- package/src/build.js +1 -1
- package/src/config/webpackConfig.js +1 -1
package/CHANGELOG.md
CHANGED
package/lib/build.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
process.env.NODE_ENV = 'production';
|
|
4
4
|
process.env.BABEL_ENV = 'production';
|
|
5
|
-
process.env.BROWSERSLIST = '>0.
|
|
5
|
+
process.env.BROWSERSLIST = '>0.2%, not dead, not op_mini all';
|
|
6
6
|
const webpack = require('webpack');
|
|
7
7
|
const chalk = require('chalk');
|
|
8
8
|
const getConfig = require('./utils/getConfig');
|
|
@@ -327,7 +327,7 @@ module.exports = function getWebpackConfig(args, override) {
|
|
|
327
327
|
drop: ['debugger'],
|
|
328
328
|
keepNames: false,
|
|
329
329
|
legalComments: 'none',
|
|
330
|
-
target: '
|
|
330
|
+
target: 'es6'
|
|
331
331
|
}),
|
|
332
332
|
// This is only used in production mode
|
|
333
333
|
override.minify === 'terser' && new TerserPlugin({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qse/edu-scripts",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.4",
|
|
4
4
|
"author": "Kinoko",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "教育工程化基础框架",
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
"typescript": "^4.9.5",
|
|
83
83
|
"update-notifier": "^5.1.0",
|
|
84
84
|
"url-loader": "^4.1.1",
|
|
85
|
-
"webpack": "
|
|
86
|
-
"webpack-bundle-analyzer": "
|
|
87
|
-
"webpack-dev-server": "
|
|
85
|
+
"webpack": "^5.78.0",
|
|
86
|
+
"webpack-bundle-analyzer": "^4.8.0",
|
|
87
|
+
"webpack-dev-server": "^4.13.2",
|
|
88
88
|
"yargs": "^17.7.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
package/src/build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
process.env.NODE_ENV = 'production'
|
|
2
2
|
process.env.BABEL_ENV = 'production'
|
|
3
|
-
process.env.BROWSERSLIST = '>0.
|
|
3
|
+
process.env.BROWSERSLIST = '>0.2%, not dead, not op_mini all'
|
|
4
4
|
|
|
5
5
|
const webpack = require('webpack')
|
|
6
6
|
const chalk = require('chalk')
|
|
@@ -380,7 +380,7 @@ module.exports = function getWebpackConfig(args, override) {
|
|
|
380
380
|
drop: ['debugger'],
|
|
381
381
|
keepNames: false,
|
|
382
382
|
legalComments: 'none',
|
|
383
|
-
target: '
|
|
383
|
+
target: 'es6',
|
|
384
384
|
}),
|
|
385
385
|
// This is only used in production mode
|
|
386
386
|
override.minify === 'terser' &&
|