@autobest-ui/scripts 1.9.1-alpha.3 → 1.9.1-alpha.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/common/utils.js CHANGED
@@ -4,7 +4,7 @@ const fs = require('fs');
4
4
  // 执行node命令时候的文件绝对路径
5
5
  const root = process.cwd();
6
6
 
7
- const argsReg = /^--[0-9a-z]+$/;
7
+ const argsReg = /^--[0-9a-zA-Z]+$/;
8
8
 
9
9
  /**
10
10
  * 从根目录开始获取文件绝对地址路径
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobest-ui/scripts",
3
- "version": "1.9.1-alpha.3",
3
+ "version": "1.9.1-alpha.4",
4
4
  "private": false,
5
5
  "description": "utils for project tools",
6
6
  "bin": {
@@ -102,5 +102,5 @@
102
102
  "eslint": "^8.23.1",
103
103
  "typescript": "4.8.3"
104
104
  },
105
- "gitHead": "f6715e41b33688a797b38983f0b19da9992ab88d"
105
+ "gitHead": "abd91e39442fa57d018e1ec3bb82135280c37041"
106
106
  }
@@ -78,10 +78,8 @@ module.exports = function (appConfig, extendEnv, { isServer, isHotServer, isProd
78
78
  },
79
79
  vendor: {
80
80
  test: /[\\/]node_modules[\\/]/,
81
- chunks: 'initial',
82
- name: 'vendor',
83
- minChunks: 1,
84
- priority: 10
81
+ chunks: 'all',
82
+ name: 'vendor'
85
83
  }
86
84
  }
87
85
  },