@nuxt/rspack-builder-nightly 4.0.0-29148088.4aa14396 → 4.0.0-29148094.f966a950
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 +2 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import pify from 'pify';
|
|
2
|
-
import { join, resolve, normalize, dirname, isAbsolute } from 'pathe';
|
|
2
|
+
import { join, resolve, basename, normalize, dirname, isAbsolute } from 'pathe';
|
|
3
3
|
import { fromNodeMiddleware, defineEventHandler, handleCors, getRequestHeader, createError, setHeader } from 'h3';
|
|
4
4
|
import webpackDevMiddleware from 'webpack-dev-middleware';
|
|
5
5
|
import webpackHotMiddleware from 'webpack-hot-middleware';
|
|
@@ -271,6 +271,7 @@ function basePlugins(ctx) {
|
|
|
271
271
|
function baseAlias(ctx) {
|
|
272
272
|
ctx.alias = {
|
|
273
273
|
"#app": ctx.options.appDir,
|
|
274
|
+
[basename(ctx.nuxt.options.dir.assets)]: resolve(ctx.nuxt.options.srcDir, ctx.nuxt.options.dir.assets),
|
|
274
275
|
...ctx.options.alias,
|
|
275
276
|
...ctx.alias
|
|
276
277
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/rspack-builder-nightly",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-29148094.f966a950",
|
|
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.0.0-
|
|
30
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.0.0-29148094.f966a950",
|
|
31
31
|
"@rspack/core": "^1.3.13",
|
|
32
32
|
"autoprefixer": "^10.4.21",
|
|
33
33
|
"css-loader": "^7.1.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"webpackbar": "^7.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-
|
|
70
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-29148094.f966a950",
|
|
71
71
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
72
72
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
73
73
|
"rollup": "4.41.1",
|