Refactor/Project structure #67

Merged
KevinMidboe merged 56 commits from refactor/project-structure into master 2020-12-10 22:20:38 +00:00
Showing only changes of commit 794a2b06e4 - Show all commits

View File

@@ -17,10 +17,9 @@ const environment = isProd
const webpackConfig = merge(commonConfig(false), {
mode: "production",
output: {
path: helpers.root("public/dist"),
path: helpers.root("dist"),
publicPath: "/dist/",
filename: "js/[name].bundle.[hash:7].js"
//filename: "js/[name].bundle.js"
},
optimization: {
splitChunks: {
@@ -51,7 +50,6 @@ const webpackConfig = merge(commonConfig(false), {
new webpack.EnvironmentPlugin(environment),
new MiniCSSExtractPlugin({
filename: "css/[name].[hash:7].css"
//filename: "css/[name].css"
})
]
});