ko 6.6.7-beta.5 → 6.6.7-beta.6

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.
@@ -86,7 +86,10 @@ class WebpackConfig {
86
86
  }),
87
87
  ].filter(Boolean),
88
88
  extensions: this.extensions,
89
- alias,
89
+ alias: {
90
+ ...alias,
91
+ 'core-js': require.resolve('core-js').replace(/\/index\.js$/, ''),
92
+ },
90
93
  fallback: {
91
94
  fs: false,
92
95
  path: false,
@@ -23,7 +23,7 @@ class Script {
23
23
  chunkFilename: '[name].[contenthash].worker.js',
24
24
  },
25
25
  },
26
- // Monaco worker 依赖专用规则(不使用 thread-loader,使用 usage polyfill 兼容 Chrome 66)
26
+ // Monaco worker 依赖专用规则(不使用 thread-loader,只做语法转换兼容 Chrome 66)
27
27
  {
28
28
  test: /\.m?(t|j)sx?$/,
29
29
  include: (input) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko",
3
- "version": "6.6.7-beta.5",
3
+ "version": "6.6.7-beta.6",
4
4
  "description": "build & lint library",
5
5
  "keywords": [
6
6
  "ko",
@@ -36,6 +36,7 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@babel/core": "^7.18.0",
39
+ "core-js": "^3.30.0",
39
40
  "@dtinsight/auto-polyfills-webpack-plugin": "2.0.0",
40
41
  "@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
41
42
  "@parcel/css": "^1.12.2",