Skip to content

Commit 2d7ce9a

Browse files
authored
feat(native-plugin): pass decodedBase to nativeWasmHelperPlugin (#300)
1 parent c45adb3 commit 2d7ce9a

File tree

1 file changed

+3
-1
lines changed
  • packages/vite/src/node/plugins

1 file changed

+3
-1
lines changed

packages/vite/src/node/plugins/wasm.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ export const wasmHelperPlugin = (config: ResolvedConfig): Plugin => {
5858
config.experimental.enableNativePlugin === true &&
5959
config.command === 'build'
6060
) {
61-
return nativeWasmHelperPlugin()
61+
return nativeWasmHelperPlugin({
62+
decodedBase: config.decodedBase,
63+
})
6264
}
6365

6466
return {

0 commit comments

Comments
 (0)