diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-06-14 23:08:02 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-06-28 21:04:34 +0300 |
commit | 3f3993c3d3da135ef32ba0abbff66d910a189bb6 (patch) | |
tree | c49a93c4ea40f7f397d9c7aabc63b324f219d11d /config/webpack.config.js | |
parent | b37923235bd67542d8f7a02a08c710b6ef3b339d (diff) |
dynamically set webpack publicPath when relative_url_root enabled
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 2e8c94655c1..39e665d5c14 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -244,7 +244,6 @@ if (IS_DEV_SERVER) { hot: DEV_SERVER_LIVERELOAD, inline: DEV_SERVER_LIVERELOAD }; - config.output.publicPath = '//' + DEV_SERVER_HOST + ':' + DEV_SERVER_PORT + config.output.publicPath; config.plugins.push( // watch node_modules for changes if we encounter a missing module compile error new WatchMissingNodeModulesPlugin(path.join(ROOT_PATH, 'node_modules')) |