aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/webpack.common.js
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-01 02:32:06 +0800
committercrupest <crupest@outlook.com>2020-09-01 02:32:06 +0800
commita314b5350e269676e8c39eda4cc7842751b1a7fc (patch)
treeab3e8c96f18c8e9f6e8c613ace0e04329614304c /Timeline/ClientApp/webpack.common.js
parent02a9bf9ecfe1659b3481a5386e7a06ee2f0e5fc5 (diff)
downloadtimeline-a314b5350e269676e8c39eda4cc7842751b1a7fc.tar.gz
timeline-a314b5350e269676e8c39eda4cc7842751b1a7fc.tar.bz2
timeline-a314b5350e269676e8c39eda4cc7842751b1a7fc.zip
...
Diffstat (limited to 'Timeline/ClientApp/webpack.common.js')
-rw-r--r--Timeline/ClientApp/webpack.common.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/ClientApp/webpack.common.js b/Timeline/ClientApp/webpack.common.js
index fdfb793e..e13881cb 100644
--- a/Timeline/ClientApp/webpack.common.js
+++ b/Timeline/ClientApp/webpack.common.js
@@ -77,6 +77,8 @@ config.resolve.extensions
.plugin("pnp")
.use(PnpWebpackPlugin);
+config.resolve.alias.set("@", path.resolve(__dirname, "src/app"));
+
config.resolveLoader.plugin("pnp").use(PnpWebpackPlugin.moduleLoader(module));
config.output