aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-06-29 17:15:43 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-06-29 17:15:43 +0400
commit18cfd694b202e4ba49a0e175bacad9e6bb3ad43e (patch)
treeeb957a3e07b883a624d3b021439c91724602fbc4 /webpack.config.js
parentUpdate CODEOWNERS (diff)
Fix Map Conflicts In Dev Server
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 3747a07..06fcf21 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,6 +1,6 @@
const path = require("path")
const HtmlWebpackPlugin = require("html-webpack-plugin");
-const CopyPlugin = require('copy-webpack-plugin');
+const CopyPlugin = require("copy-webpack-plugin");
const webpack = require("webpack")
if (process.env.NODE_ENV === "development") { require("dotenv").config(); }
@@ -96,5 +96,7 @@ module.exports = {
}), new HtmlWebpackPlugin({
inject: true,
template: 'public/index.html'
+ }), new webpack.SourceMapDevToolPlugin({
+ filename: "[file].map[query]"
})]
}