@nuxt/webpack-builder-nightly 4.4.0-29551604.0a8a57da → 4.4.0-29552640.096fa1dc

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 +5 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -1103,7 +1103,11 @@ var VueSSRServerPlugin = class {
1103
1103
  //#endregion
1104
1104
  //#region src/presets/vue.ts
1105
1105
  function vue(ctx) {
1106
- ctx.config.plugins.push(new (VueLoaderPlugin.default || VueLoaderPlugin)());
1106
+ ctx.nuxt.hooks.hookOnce(`${builder}:config`, () => {
1107
+ ctx.nuxt.hook(`${builder}:configResolved`, (configs) => {
1108
+ for (const config of configs) config.plugins.unshift(new (VueLoaderPlugin.default || VueLoaderPlugin)());
1109
+ });
1110
+ });
1107
1111
  ctx.config.module.rules.push({
1108
1112
  test: /\.vue$/i,
1109
1113
  loader: "vue-loader",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder-nightly",
3
- "version": "4.4.0-29551604.0a8a57da",
3
+ "version": "4.4.0-29552640.096fa1dc",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
28
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.0-29551604.0a8a57da",
28
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.4.0-29552640.096fa1dc",
29
29
  "@vue/compiler-sfc": "3.5.29",
30
30
  "autoprefixer": "^10.4.27",
31
31
  "css-loader": "^7.1.4",
@@ -69,7 +69,7 @@
69
69
  "webpackbar": "^7.0.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.0-29551604.0a8a57da",
72
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.4.0-29552640.096fa1dc",
73
73
  "@rspack/core": "1.7.7",
74
74
  "@types/webpack-bundle-analyzer": "4.7.0",
75
75
  "@types/webpack-hot-middleware": "2.25.12",
@@ -80,7 +80,7 @@
80
80
  "vue": "3.5.29"
81
81
  },
82
82
  "peerDependencies": {
83
- "nuxt": "npm:nuxt-nightly@4.4.0-29551604.0a8a57da",
83
+ "nuxt": "npm:nuxt-nightly@4.4.0-29552640.096fa1dc",
84
84
  "vue": "^3.3.4"
85
85
  },
86
86
  "engines": {