mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nitro): always inline .wasm
(#698)
This commit is contained in:
parent
06c1222e1f
commit
a4f06716be
@ -44,8 +44,8 @@ export function externals (opts: NodeExternalsOptions): Plugin {
|
||||
if (_id.startsWith('.') || opts.inline.find(i => _id.startsWith(i) || id.startsWith(i))) {
|
||||
return null
|
||||
}
|
||||
// Bundle ts
|
||||
if (_id.endsWith('.ts')) {
|
||||
// Bundle ts and wasm (currently - see https://github.com/nuxt/framework/discussions/692)
|
||||
if (_id.endsWith('.ts') || _id.endsWith('.wasm')) {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user