Fix assets

This commit is contained in:
Patrick Neff 2019-05-27 16:21:19 +02:00
parent 4711fcbd49
commit d8170331e4
3 changed files with 1 additions and 6 deletions

View File

@ -39,6 +39,5 @@
{{- define "scripts" -}} {{- define "scripts" -}}
{{ partial "part/script.html" (dict "ctx" . "path" "js/three.bundle.js")}} {{ 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")}} {{ partial "part/script.html" (dict "ctx" . "path" "js/catalog.bundle.js")}}
{{- end -}} {{- end -}}

View File

@ -19,7 +19,7 @@ module.exports = {
path: __dirname + "/assets" path: __dirname + "/assets"
}, },
optimization: { optimization: {
//usedExports: true, usedExports: true,
splitChunks: { splitChunks: {
cacheGroups: { cacheGroups: {
common: { common: {

View File

@ -5,10 +5,6 @@ const MinifyPlugin = require("babel-minify-webpack-plugin");
module.exports = merge(common, { module.exports = merge(common, {
mode: "production", mode: "production",
module: {
},
plugins: [
],
optimization: { optimization: {
minimizer: [ minimizer: [
new OptimizeCSSAssetsPlugin() new OptimizeCSSAssetsPlugin()