Serves static assets from each dataset root URL and switch the publicPath to be a relative path. (#1786)

This commit is contained in:
maniarathi
2020-08-22 10:04:40 -07:00
committed by GitHub
parent bc150a8469
commit 5dfe0043c3
3 changed files with 17 additions and 4 deletions
@@ -7,7 +7,7 @@ const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin");
const src = path.resolve("src");
const nodeModules = path.resolve("node_modules");
const publicPath = "/";
const publicPath = "";
const rawObsoleteHTMLTemplate = fs.readFileSync(
`${__dirname}/obsoleteHTMLTemplate.html`,