diff options
author | nea <romangraef@gmail.com> | 2022-08-20 15:48:04 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-20 15:48:04 +0200 |
commit | 6207fd482a685527fda286e0df5d4fa87aa85149 (patch) | |
tree | 497bc3aa56286ce29224ae83382396ee69462e82 /example/webpack.config.d | |
parent | 893ece6b2f02329d460538311f572cb5b1936d3f (diff) | |
download | neamoe-6207fd482a685527fda286e0df5d4fa87aa85149.tar.gz neamoe-6207fd482a685527fda286e0df5d4fa87aa85149.tar.bz2 neamoe-6207fd482a685527fda286e0df5d4fa87aa85149.zip |
subprojectification
Diffstat (limited to 'example/webpack.config.d')
-rw-r--r-- | example/webpack.config.d/noopenbrowser.js | 1 | ||||
-rw-r--r-- | example/webpack.config.d/style.js | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/example/webpack.config.d/noopenbrowser.js b/example/webpack.config.d/noopenbrowser.js new file mode 100644 index 0000000..27eb2d8 --- /dev/null +++ b/example/webpack.config.d/noopenbrowser.js @@ -0,0 +1 @@ +(config.devServer = config.devServer || {}).open = false
\ No newline at end of file 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") |