@nuxt/vite-builder-nightly 4.3.0-29450657.a9b0ebbb → 4.3.0-29454382.becfbee6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1787,11 +1787,11 @@ function SSRStylesPlugin(nuxt) {
1787
1787
  async handler(code, id) {
1788
1788
  if (environment.name === "client") {
1789
1789
  if (id === entry && (options.shouldInline === true || typeof options.shouldInline === "function" && options.shouldInline(id))) {
1790
- const s = new MagicString(code);
1791
1790
  const idClientCSSMap = clientCSSMap[id] ||= /* @__PURE__ */ new Set();
1792
1791
  if (!options.globalCSS.length) {
1793
1792
  return;
1794
1793
  }
1794
+ const s = new MagicString(code);
1795
1795
  for (const file of options.globalCSS) {
1796
1796
  const resolved = await this.resolve(file) ?? await this.resolve(file, id);
1797
1797
  const res = await this.resolve(file + "?inline&used") ?? await this.resolve(file + "?inline&used", id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/vite-builder-nightly",
3
- "version": "4.3.0-29450657.a9b0ebbb",
3
+ "version": "4.3.0-29454382.becfbee6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "devDependencies": {
28
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29450657.a9b0ebbb",
28
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29454382.becfbee6",
29
29
  "nitropack": "2.12.9",
30
30
  "rolldown": "1.0.0-beta.56",
31
31
  "rollup": "4.54.0",
@@ -33,7 +33,7 @@
33
33
  "vue": "3.5.26"
34
34
  },
35
35
  "dependencies": {
36
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29450657.a9b0ebbb",
36
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29454382.becfbee6",
37
37
  "@rollup/plugin-replace": "^6.0.3",
38
38
  "@vitejs/plugin-vue": "^6.0.3",
39
39
  "@vitejs/plugin-vue-jsx": "^5.1.2",
@@ -65,7 +65,7 @@
65
65
  "vue-bundle-renderer": "^2.2.0"
66
66
  },
67
67
  "peerDependencies": {
68
- "nuxt": "npm:nuxt-nightly@4.3.0-29450657.a9b0ebbb",
68
+ "nuxt": "npm:nuxt-nightly@4.3.0-29454382.becfbee6",
69
69
  "rolldown": "^1.0.0-beta.38",
70
70
  "vue": "^3.3.4"
71
71
  },