Webpack conf now outputs to public/dist.

This commit is contained in:
2020-11-20 21:24:36 +01:00
parent cc0bef927f
commit d36aad3f9e
2 changed files with 5 additions and 4 deletions

View File

@@ -16,9 +16,10 @@ const environment = isProd
const webpackConfig = merge(commonConfig(false), {
mode: "production",
stats: { children: false },
output: {
path: helpers.root("dist"),
publicPath: "/dist/",
path: helpers.root("public/dist"),
publicPath: "/public/dist/",
filename: "js/[name].bundle.[hash:7].js"
},
optimization: {