Skip to content
Snippets Groups Projects
Unverified Commit a995d5aa authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

remove leading slash on publicPath (#11174)

parent 7a645016
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ const config = (module.exports = {
path: BUILD_PATH + "/app/dist",
// NOTE: the filename on disk won't include "?[chunkhash]" but the URL in index.html generated by HtmlWebpackPlugin will:
filename: "[name].bundle.js?[hash]",
publicPath: "/app/dist/",
publicPath: "app/dist/",
},
module: {
......@@ -85,7 +85,7 @@ const config = (module.exports = {
},
{
test: /\.(eot|woff2?|ttf|svg|png)$/,
use: [{ loader: "file-loader" }],
use: [{ loader: "file-loader", options: { publicPath: "" } }],
},
{
test: /\.css$/,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment