From 596aaf6a7fb7c5aedc92d4915566ca438db075cf Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Fri, 26 Jul 2019 21:47:55 +0200 Subject: [PATCH] Add webpack publicPath --- client/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/webpack.config.js b/client/webpack.config.js index 5d220e25..ac9732c7 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -23,6 +23,7 @@ const config = env => { output: { path: BUILD_DIR, filename: '[name].js', + publicPath: '/' }, module: { rules: [ @@ -78,6 +79,7 @@ const config = env => { plugins: [ new htmlWebpackPlugin({ template: APP_DIR + '/index.html', + publicPath: '/' }), new webpack.HotModuleReplacementPlugin(), new webpack.DefinePlugin({