@nuxt/webpack-builder 3.19.0 → 3.19.2
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/dist/index.mjs +9 -3
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -761,7 +761,13 @@ class VueSSRClientPlugin {
|
|
|
761
761
|
continue;
|
|
762
762
|
}
|
|
763
763
|
const id = m.identifier.replace(/\s\w+$/, "");
|
|
764
|
-
const filesSet = new Set(
|
|
764
|
+
const filesSet = /* @__PURE__ */ new Set();
|
|
765
|
+
for (const file of chunk.files) {
|
|
766
|
+
const index = fileToIndex(file);
|
|
767
|
+
if (index !== -1) {
|
|
768
|
+
filesSet.add(index);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
765
771
|
for (const chunkName of chunk.names) {
|
|
766
772
|
if (!entrypoints[chunkName]) {
|
|
767
773
|
const chunkGroup = namedChunkGroups[chunkName];
|
|
@@ -837,7 +843,7 @@ class VueSSRServerPlugin {
|
|
|
837
843
|
files: {},
|
|
838
844
|
maps: {}
|
|
839
845
|
};
|
|
840
|
-
stats.assets
|
|
846
|
+
for (const asset of stats.assets) {
|
|
841
847
|
if (isJS(asset.name)) {
|
|
842
848
|
const queryPart = extractQueryPartJS(asset.name);
|
|
843
849
|
if (queryPart !== void 0) {
|
|
@@ -850,7 +856,7 @@ class VueSSRServerPlugin {
|
|
|
850
856
|
} else {
|
|
851
857
|
delete assets[asset.name];
|
|
852
858
|
}
|
|
853
|
-
}
|
|
859
|
+
}
|
|
854
860
|
const src = JSON.stringify(bundle, null, 2);
|
|
855
861
|
assets[this.options.filename] = {
|
|
856
862
|
source: () => src,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/webpack-builder",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"h3": "^1.15.4",
|
|
40
40
|
"jiti": "^2.5.1",
|
|
41
41
|
"knitwork": "^1.2.0",
|
|
42
|
-
"magic-string": "^0.30.
|
|
43
|
-
"memfs": "^4.
|
|
42
|
+
"magic-string": "^0.30.19",
|
|
43
|
+
"memfs": "^4.39.0",
|
|
44
44
|
"mini-css-extract-plugin": "^2.9.4",
|
|
45
45
|
"ohash": "^2.0.11",
|
|
46
46
|
"pathe": "^2.0.3",
|
|
@@ -54,27 +54,27 @@
|
|
|
54
54
|
"std-env": "^3.9.0",
|
|
55
55
|
"time-fix-plugin": "^2.0.7",
|
|
56
56
|
"ufo": "^1.6.1",
|
|
57
|
-
"unenv": "^2.0.0-rc.
|
|
57
|
+
"unenv": "^2.0.0-rc.21",
|
|
58
58
|
"unplugin": "^2.3.10",
|
|
59
59
|
"url-loader": "^4.1.1",
|
|
60
60
|
"vue-bundle-renderer": "^2.1.2",
|
|
61
61
|
"vue-loader": "^17.4.2",
|
|
62
62
|
"webpack": "^5.101.3",
|
|
63
63
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
64
|
-
"webpack-dev-middleware": "^7.4.
|
|
64
|
+
"webpack-dev-middleware": "^7.4.3",
|
|
65
65
|
"webpack-hot-middleware": "^2.26.1",
|
|
66
66
|
"webpackbar": "^7.0.0",
|
|
67
|
-
"@nuxt/kit": "3.19.
|
|
67
|
+
"@nuxt/kit": "3.19.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@rspack/core": "1.5.
|
|
70
|
+
"@rspack/core": "1.5.3",
|
|
71
71
|
"@types/pify": "6.1.0",
|
|
72
72
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
73
73
|
"@types/webpack-hot-middleware": "2.25.10",
|
|
74
|
-
"rollup": "4.50.
|
|
74
|
+
"rollup": "4.50.1",
|
|
75
75
|
"unbuild": "3.6.1",
|
|
76
|
-
"vue": "3.5.
|
|
77
|
-
"@nuxt/schema": "3.19.
|
|
76
|
+
"vue": "3.5.21",
|
|
77
|
+
"@nuxt/schema": "3.19.2"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"vue": "^3.3.4"
|