mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
fix(vite): inline incompatible extensions (#1332)
This commit is contained in:
parent
2350760854
commit
bbeb6b50f5
@ -24,7 +24,7 @@
|
|||||||
"chokidar": "^3.5.2",
|
"chokidar": "^3.5.2",
|
||||||
"consola": "^2.15.3",
|
"consola": "^2.15.3",
|
||||||
"defu": "^5.0.0",
|
"defu": "^5.0.0",
|
||||||
"externality": "0.1.1",
|
"externality": "^0.1.3",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"magic-string": "^0.25.7",
|
"magic-string": "^0.25.7",
|
||||||
"p-debounce": "^4.0.0",
|
"p-debounce": "^4.0.0",
|
||||||
|
@ -41,8 +41,7 @@ export async function buildServer (ctx: ViteBuildContext) {
|
|||||||
external: [],
|
external: [],
|
||||||
noExternal: [
|
noExternal: [
|
||||||
...ctx.nuxt.options.build.transpile,
|
...ctx.nuxt.options.build.transpile,
|
||||||
/\\.vue$/,
|
/\.(es|esm|esm-browser|esm-bundler).js$/,
|
||||||
'plugin-vue:',
|
|
||||||
'/__vue-jsx',
|
'/__vue-jsx',
|
||||||
'#app',
|
'#app',
|
||||||
/nuxt3\/dist/,
|
/nuxt3\/dist/,
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -2807,7 +2807,7 @@ __metadata:
|
|||||||
chokidar: ^3.5.2
|
chokidar: ^3.5.2
|
||||||
consola: ^2.15.3
|
consola: ^2.15.3
|
||||||
defu: ^5.0.0
|
defu: ^5.0.0
|
||||||
externality: 0.1.1
|
externality: ^0.1.3
|
||||||
fs-extra: ^10.0.0
|
fs-extra: ^10.0.0
|
||||||
magic-string: ^0.25.7
|
magic-string: ^0.25.7
|
||||||
p-debounce: ^4.0.0
|
p-debounce: ^4.0.0
|
||||||
@ -9424,15 +9424,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"externality@npm:0.1.1":
|
"externality@npm:^0.1.3":
|
||||||
version: 0.1.1
|
version: 0.1.3
|
||||||
resolution: "externality@npm:0.1.1"
|
resolution: "externality@npm:0.1.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
allowlist: ^0.1.1
|
allowlist: ^0.1.1
|
||||||
enhanced-resolve: ^5.8.3
|
enhanced-resolve: ^5.8.3
|
||||||
ufo: ^0.7.9
|
ufo: ^0.7.9
|
||||||
upath: ^2.0.1
|
upath: ^2.0.1
|
||||||
checksum: f2ec8e30d0c4384ca206b1821f1925c6f0ac95b5545b0ed7eaedeaebf8ff412029194f2617f0bd1e361dd926916fe6750c3a0d255a262e82d1b17d25a13753b4
|
checksum: 6e08d95d00f187568773630b9de0a7844f029e3e25fb45a291eea5881d9e34c2e6fef6032a84130f652c3a5e4790b0db1cbbdacfa6bef47a41a5aa76e2d56fa4
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user