kn-cli 1.0.118 → 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.
- package/build/package.json +1 -0
- package/build/webpack.config.js +3 -1
- package/package.json +1 -1
- package/readme.md +3 -0
package/build/package.json
CHANGED
|
@@ -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",
|
package/build/webpack.config.js
CHANGED
|
@@ -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