diff --git a/services/web/.storybook/main.ts b/services/web/.storybook/main.ts index 09ed1e3f6f..bc51ea72a9 100644 --- a/services/web/.storybook/main.ts +++ b/services/web/.storybook/main.ts @@ -85,6 +85,16 @@ const config: StorybookConfig = { '@': path.join(rootDir, 'frontend/js/'), }, }, + module: { + ...storybookConfig.module, + rules: (storybookConfig.module?.rules ?? []).concat({ + test: /\.wasm$/, + type: 'asset/resource', + generator: { + filename: 'js/[name]-[contenthash][ext]', + }, + }), + }, } }, }