Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33031206
D8393.1768403083.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
793 B
Referenced Files
None
Subscribers
None
D8393.1768403083.diff
View Options
diff --git a/web/webpack.config.cjs b/web/webpack.config.cjs
--- a/web/webpack.config.cjs
+++ b/web/webpack.config.cjs
@@ -145,6 +145,14 @@
},
],
}),
+ new CopyPlugin({
+ patterns: [
+ {
+ from: 'database/_generated/comm_query_executor.wasm',
+ to: path.join(__dirname, 'dist', 'webworkers'),
+ },
+ ],
+ }),
];
const prodWebWorkersPlugins = [
@@ -161,6 +169,19 @@
},
],
}),
+ new CopyPlugin({
+ patterns: [
+ {
+ from: 'database/_generated/comm_query_executor.wasm',
+ to: path.join(
+ __dirname,
+ 'dist',
+ 'webworkers',
+ 'comm_query_executor.[contenthash:12].wasm',
+ ),
+ },
+ ],
+ }),
new WebpackManifestPlugin({
publicPath: '',
}),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 3:04 PM (8 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5932606
Default Alt Text
D8393.1768403083.diff (793 B)
Attached To
Mode
D8393: [web] copy `.wasm` files using webpack
Attached
Detach File
Event Timeline
Log In to Comment