@shuvi/platform-web 2.0.0-dev.35 → 2.0.0-dev.37

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.
@@ -311,7 +311,7 @@ class BuildManifestPlugin {
311
311
  }
312
312
  const context = compiler.options.context;
313
313
  chunk.files.forEach((file) => {
314
- const isJs = file.match(/\.js$/) && file.match(/^static\/chunks\//);
314
+ const isJs = file.match(/\.js$/) && file.match(/^static\/(chunks|common)\//);
315
315
  const isCss = file.match(/\.css$/) && file.match(/^static\/css\//);
316
316
  if (isJs || isCss) {
317
317
  this._pushLoadableModules(request, file);
@@ -360,7 +360,7 @@ class RspackBuildManifestPlugin {
360
360
  const context = compiler.options.context;
361
361
  // Collect files from chunk
362
362
  chunk.files.forEach((file) => {
363
- const isJs = file.match(/\.js$/) && file.match(/^static\/chunks\//);
363
+ const isJs = file.match(/\.js$/) && file.match(/^static\/(chunks|common)\//);
364
364
  const isCss = file.match(/\.css$/) && file.match(/^static\/css\//);
365
365
  if (isJs || isCss) {
366
366
  this._pushLoadableModules(request, file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuvi/platform-web",
3
- "version": "2.0.0-dev.35",
3
+ "version": "2.0.0-dev.37",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/shuvijs/shuvi.git",
@@ -72,15 +72,15 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@rspack/plugin-react-refresh": "^1.4.3",
75
- "@shuvi/error-overlay": "2.0.0-dev.35",
76
- "@shuvi/hook": "2.0.0-dev.35",
77
- "@shuvi/platform-shared": "2.0.0-dev.35",
78
- "@shuvi/router": "2.0.0-dev.35",
79
- "@shuvi/router-react": "2.0.0-dev.35",
80
- "@shuvi/runtime": "2.0.0-dev.35",
81
- "@shuvi/shared": "2.0.0-dev.35",
82
- "@shuvi/toolpack": "2.0.0-dev.35",
83
- "@shuvi/utils": "2.0.0-dev.35",
75
+ "@shuvi/error-overlay": "2.0.0-dev.37",
76
+ "@shuvi/hook": "2.0.0-dev.37",
77
+ "@shuvi/platform-shared": "2.0.0-dev.37",
78
+ "@shuvi/router": "2.0.0-dev.37",
79
+ "@shuvi/router-react": "2.0.0-dev.37",
80
+ "@shuvi/runtime": "2.0.0-dev.37",
81
+ "@shuvi/shared": "2.0.0-dev.37",
82
+ "@shuvi/toolpack": "2.0.0-dev.37",
83
+ "@shuvi/utils": "2.0.0-dev.37",
84
84
  "content-type": "1.0.4",
85
85
  "core-js": "3.6.5",
86
86
  "doura": "0.0.13",
@@ -98,10 +98,10 @@
98
98
  "whatwg-fetch": "3.0.0"
99
99
  },
100
100
  "peerDependencies": {
101
- "@shuvi/service": "2.0.0-dev.35"
101
+ "@shuvi/service": "2.0.0-dev.37"
102
102
  },
103
103
  "devDependencies": {
104
- "@shuvi/service": "2.0.0-dev.35",
104
+ "@shuvi/service": "2.0.0-dev.37",
105
105
  "@testing-library/react": "^13.2.0",
106
106
  "@types/content-type": "^1.1.5",
107
107
  "@types/ejs": "^3.1.0",