akfun 5.0.0 → 5.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -16,7 +16,7 @@ module.exports = {
16
16
  plugins: [
17
17
  // ['import', { libraryName: 'antd', style: 'css' }], // babel-plugin-import: antd的按需加载
18
18
  ['@babel/plugin-transform-runtime'],
19
- ['@babel/plugin-proposal-decorators', { legacy: true }],
19
+ ['@babel/plugin-proposal-decorators', { legacy: true }], // 启用装饰器语法支持
20
20
  '@babel/plugin-proposal-function-sent',
21
21
  '@babel/plugin-proposal-export-namespace-from',
22
22
  '@babel/plugin-proposal-numeric-separator',
@@ -51,8 +51,8 @@ module.exports = (akfunConfig) => {
51
51
  devtool: curEnvConfig.productionSourceMap ? curEnvConfig.devtool || 'eval-source-map' : 'eval', // 开发环境
52
52
  optimization: {
53
53
  chunkIds: 'named', // named 对调试更友好的可读的 id。
54
- emitOnErrors: true,
55
- minimize: false
54
+ emitOnErrors: true
55
+ // minimize: false
56
56
  },
57
57
  plugins: [
58
58
  // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
@@ -53,7 +53,7 @@ module.exports = (akfunConfig) => {
53
53
  */
54
54
  chunkIds: 'named',
55
55
  emitOnErrors: true,
56
- minimize: true,
56
+ // minimize: true,
57
57
  minimizer: [
58
58
  // For webpack@5 you can use the `...` syntax to extend existing minimizers (i.e. `terser-webpack-plugin`), uncomment the next line
59
59
  `...`,
@@ -80,7 +80,7 @@ module.exports = (akfunConfig) => {
80
80
  }
81
81
  }
82
82
  },
83
- minimize: true,
83
+ // minimize: true,
84
84
  minimizer: [
85
85
  // For webpack@5 you can use the `...` syntax to extend existing minimizers (i.e. `terser-webpack-plugin`), uncomment the next line
86
86
  `...`,