Skip to content

Commit a6d818c

Browse files
authored
docs(configuration): add output.webassemblyModuleFilename (#7154)
1 parent 0ef46b6 commit a6d818c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/configuration/output.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,21 @@ module.exports = {
23942394
};
23952395
```
23962396

2397+
## output.webassemblyModuleFilename
2398+
2399+
`string = '[hash].module.wasm'`
2400+
2401+
Specifies the filename of WebAssembly modules. It should be provided as a relative path within the `output.path` directory
2402+
2403+
```javascript
2404+
module.exports = {
2405+
//...
2406+
output: {
2407+
webassemblyModuleFilename: '[id].[hash].wasm',
2408+
},
2409+
};
2410+
```
2411+
23972412
## output.workerChunkLoading
23982413

23992414
`string: 'require' | 'import-scripts' | 'async-node' | 'import' | 'universal'` `boolean: false`

0 commit comments

Comments
 (0)