kn-cli 1.0.119 → 1.0.120

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.
@@ -21,6 +21,7 @@
21
21
  "@babel/plugin-proposal-private-methods": "~7.8.3",
22
22
  "@babel/plugin-transform-runtime": "7.5.0",
23
23
  "@babel/plugin-transform-regenerator": "~7.27.5",
24
+ "@babel/plugin-proposal-logical-assignment-operators": "~7.8.3",
24
25
  "@babel/polyfill": "~7.8.7",
25
26
  "@babel/preset-env": "7.7.7",
26
27
  "@babel/preset-react": "~7.8.3",
@@ -153,6 +153,8 @@ const LOADER_JS=[
153
153
  ['@babel/plugin-proposal-decorators', { legacy: true }],
154
154
  ['@babel/plugin-proposal-private-methods', { loose: true }],
155
155
  ['@babel/plugin-proposal-class-properties', { loose: true }],
156
+ ['@babel/plugin-proposal-logical-assignment-operators', { loose: true }],
157
+
156
158
  // ["import", {
157
159
  // style: false,//"css",
158
160
  // libraryName: "kn-hooks" ,
@@ -523,7 +525,7 @@ const config={
523
525
  path.resolve(webpackPath, 'node_modules'),
524
526
  'node_modules',
525
527
  ],
526
- extensions: ['.jsx', '.js', '.json'],
528
+ extensions: ['.jsx', '.js', '.json','.mjs'],
527
529
  alias: {
528
530
  '@': path.resolve(dirname, 'src/'),
529
531
  ...Alias,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -140,6 +140,9 @@ report
140
140
 
141
141
 
142
142
  # 更新日志
143
+ * 1.0.120
144
+ 支持??=语法编译
145
+
143
146
  * 1.0.97
144
147
  将Postcss版本锁定在8
145
148