summaryrefslogtreecommitdiff
path: root/example/webpack.config.d
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-08-20 15:48:04 +0200
committernea <romangraef@gmail.com>2022-08-20 15:48:04 +0200
commit6207fd482a685527fda286e0df5d4fa87aa85149 (patch)
tree497bc3aa56286ce29224ae83382396ee69462e82 /example/webpack.config.d
parent893ece6b2f02329d460538311f572cb5b1936d3f (diff)
downloadneamoe-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.js1
-rw-r--r--example/webpack.config.d/style.js5
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")