aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-11 20:02:04 +0200
committerGitHub <noreply@github.com>2021-10-11 20:02:04 +0200
commitc67531161e56488166a33232f87566309ba8676e (patch)
tree846e59a020e80bea48557d5a06af5728e44961ff /webpack.config.js
parente6880cd8ccf82d993f222cb14b4860581654acb8 (diff)
parentc1b6eec770b885a9829e1f62bad5cc99389ca429 (diff)
downloadLuxcena-Neo-c67531161e56488166a33232f87566309ba8676e.tar.gz
Luxcena-Neo-c67531161e56488166a33232f87566309ba8676e.zip
Merge pull request #24 from JakobST1n/rebuild
v1.0.0
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/webpack.config.js b/webpack.config.js
deleted file mode 100644
index 8d838a4..0000000
--- a/webpack.config.js
+++ /dev/null
@@ -1,35 +0,0 @@
-const MiniCssExtractPlugin = require("mini-css-extract-plugin");
-const path = require('path');
-
-module.exports = {
- mode: "none",
- entry: "./src/public/app.js",
- output: {
- path: path.resolve(__dirname, "public/assets/js"),
- filename: "bundle.js"
- },
- resolve: {
- extensions: ['.js', '.css', '.scss'],
- alias: {
- "fontawesome": path.join(__dirname, "/node_modules/@fortawesome/fontawesome-free/js/all.min.js"),
- "node_modules": path.join(__dirname, "/node_modules")
- }
- },
- module: {
- rules: [
- {
- test: /\.scss$/,
- use: [
- MiniCssExtractPlugin.loader,
- "css-loader",
- "sass-loader"
- ]
- }
- ]
- },
- plugins: [
- new MiniCssExtractPlugin({
- filename: "../css/bundle.css"
- })
- ]
-};