summaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.d')
-rw-r--r--webpack.config.d/style.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.d/style.js b/webpack.config.d/style.js
index 0e46452..0b521a8 100644
--- a/webpack.config.d/style.js
+++ b/webpack.config.d/style.js
@@ -1,2 +1,3 @@
config.resolve.modules.push("src/main/resources/")
-config.module.rules.push({test: /\.txt$/, type: 'asset/source'}) \ No newline at end of file
+config.module.rules.push({test: /\.txt$/, type: 'asset/source'})
+config.module.rules.push({test: /\.(png|jpg|jpeg|svg|gif)$/i, type: 'asset/resource'}) \ No newline at end of file