summaryrefslogtreecommitdiffstats
path: root/webpack.common.config.js
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-10-10 13:18:53 +0200
committerGrigorii K. Shartsev <me@shgk.me>2023-10-23 15:11:47 +0200
commit256769628eba361675c33e7f7f279f574d4d6a0e (patch)
treec9e0e9b50b68923ecd36962559d0592fe2ed44c0 /webpack.common.config.js
parentd62a1b0246b93baec30eddb41bda88802185c103 (diff)
chore(webpack): add raw query support
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'webpack.common.config.js')
-rw-r--r--webpack.common.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.common.config.js b/webpack.common.config.js
index 72456490e..b5a5cce8f 100644
--- a/webpack.common.config.js
+++ b/webpack.common.config.js
@@ -74,6 +74,10 @@ module.exports = mergeWithRules({
test: /\.worker\.js$/,
use: { loader: 'worker-loader' },
},
+ {
+ resourceQuery: /raw/,
+ type: 'asset/source',
+ }
],
},
})