From f06abaacb0ed7786c91cd3b1e40411f94abfd5b1 Mon Sep 17 00:00:00 2001 From: Shehzan Mohammed Date: Fri, 22 Oct 2021 23:58:22 -0400 Subject: [PATCH] Temporary fix for models and static files --- index.html | 4 ++-- webpack.config.js | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index fc66b57..629c711 100644 --- a/index.html +++ b/index.html @@ -19,6 +19,6 @@ - + - \ No newline at end of file + diff --git a/webpack.config.js b/webpack.config.js index 3457710..4dbb50c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -60,7 +60,11 @@ module.exports = function(env, argv) { }, devtool: 'source-map', devServer: { - port: 5650 + port: 5650, + static: { + directory: path.join(__dirname, 'models'), + publicPath: '/models', + }, }, }; };