Fix assets
This commit is contained in:
parent
4711fcbd49
commit
d8170331e4
|
|
@ -39,6 +39,5 @@
|
|||
|
||||
{{- define "scripts" -}}
|
||||
{{ partial "part/script.html" (dict "ctx" . "path" "js/three.bundle.js")}}
|
||||
{{ partial "part/script.html" (dict "ctx" . "path" "js/vue.bundle.js")}}
|
||||
{{ partial "part/script.html" (dict "ctx" . "path" "js/catalog.bundle.js")}}
|
||||
{{- end -}}
|
||||
|
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
path: __dirname + "/assets"
|
||||
},
|
||||
optimization: {
|
||||
//usedExports: true,
|
||||
usedExports: true,
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
common: {
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@ const MinifyPlugin = require("babel-minify-webpack-plugin");
|
|||
|
||||
module.exports = merge(common, {
|
||||
mode: "production",
|
||||
module: {
|
||||
},
|
||||
plugins: [
|
||||
],
|
||||
optimization: {
|
||||
minimizer: [
|
||||
new OptimizeCSSAssetsPlugin()
|
||||
|
|
|
|||
Loading…
Reference in New Issue