From 633f68d0c9a0f9a120f14da7e8ccea6102965c41 Mon Sep 17 00:00:00 2001 From: nea Date: Fri, 10 Dec 2021 03:22:34 +0100 Subject: downloads and images --- webpack.config.d/style.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webpack.config.d') 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 -- cgit