diff options
Diffstat (limited to 'example/webpack.config.d/style.js')
-rw-r--r-- | example/webpack.config.d/style.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/webpack.config.d/style.js b/example/webpack.config.d/style.js new file mode 100644 index 0000000..3bdbd3c --- /dev/null +++ b/example/webpack.config.d/style.js @@ -0,0 +1,5 @@ +config.resolve.modules.push("src/main/resources/") +config.resolve.modules.push(".") +config.module.rules.push({test: /\.txt$/, type: 'asset/source'}) +config.module.rules.push({test: /\.(png|jpg|jpeg|svg|gif)$/i, type: 'asset/resource'}) +console.log("Hahahahahah") |