@nuxt/webpack-builder-nightly 4.1.2-29293231.4568e845 → 4.1.2-29293741.3f7624b3
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 +3 -3
package/dist/index.mjs
CHANGED
|
@@ -764,7 +764,13 @@ class VueSSRClientPlugin {
|
|
|
764
764
|
continue;
|
|
765
765
|
}
|
|
766
766
|
const id = m.identifier.replace(/\s\w+$/, "");
|
|
767
|
-
const filesSet = new Set(
|
|
767
|
+
const filesSet = /* @__PURE__ */ new Set();
|
|
768
|
+
for (const file of chunk.files) {
|
|
769
|
+
const index = fileToIndex(file);
|
|
770
|
+
if (index !== -1) {
|
|
771
|
+
filesSet.add(index);
|
|
772
|
+
}
|
|
773
|
+
}
|
|
768
774
|
for (const chunkName of chunk.names) {
|
|
769
775
|
if (!entrypoints[chunkName]) {
|
|
770
776
|
const chunkGroup = namedChunkGroups[chunkName];
|
|
@@ -840,7 +846,7 @@ class VueSSRServerPlugin {
|
|
|
840
846
|
files: {},
|
|
841
847
|
maps: {}
|
|
842
848
|
};
|
|
843
|
-
stats.assets
|
|
849
|
+
for (const asset of stats.assets) {
|
|
844
850
|
if (isJS(asset.name)) {
|
|
845
851
|
const queryPart = extractQueryPartJS(asset.name);
|
|
846
852
|
if (queryPart !== void 0) {
|
|
@@ -853,7 +859,7 @@ class VueSSRServerPlugin {
|
|
|
853
859
|
} else {
|
|
854
860
|
delete assets[asset.name];
|
|
855
861
|
}
|
|
856
|
-
}
|
|
862
|
+
}
|
|
857
863
|
const src = JSON.stringify(bundle, null, 2);
|
|
858
864
|
assets[this.options.filename] = {
|
|
859
865
|
source: () => src,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/webpack-builder-nightly",
|
|
3
|
-
"version": "4.1.2-
|
|
3
|
+
"version": "4.1.2-29293741.3f7624b3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
|
|
30
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-
|
|
30
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-29293741.3f7624b3",
|
|
31
31
|
"autoprefixer": "^10.4.21",
|
|
32
32
|
"css-loader": "^7.1.2",
|
|
33
33
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"webpackbar": "^7.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-29293741.3f7624b3",
|
|
72
72
|
"@rspack/core": "1.5.3",
|
|
73
73
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
74
74
|
"@types/webpack-hot-middleware": "2.25.10",
|