diff --git a/package.json b/package.json index 534f05dcf..c3f2d6290 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "postcss-loader": "^3.0.0", "sass-loader": "^7.1.0", "style-loader": "^0.23.1", - "uglifyjs-webpack-plugin": "^2.0.1", + "terser-webpack-plugin": "^1.1.0", "vue-custom-element": "^3.2.6", "vue-loader": "^15.4.2", "vue-template-compiler": "^2.5.17", diff --git a/src/admin/components/navigation/tainacan-collection-subheader.vue b/src/admin/components/navigation/tainacan-collection-subheader.vue index afcbde42a..47032944b 100644 --- a/src/admin/components/navigation/tainacan-collection-subheader.vue +++ b/src/admin/components/navigation/tainacan-collection-subheader.vue @@ -29,6 +29,10 @@ tag="a" :to="$routerHelper.getCollectionsPath()">{{ $i18n.get('repository') }}  >  + {{ $i18n.get('collections') }} +  >  {{ collectionBreadCrumbItem.name }} diff --git a/webpack.config.js b/webpack.config.js index 7eaba9161..280149753 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -79,7 +79,7 @@ module.exports = { const production = false; if (production === true) { - const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); + const TerserPlugin = require('terser-webpack-plugin'); console.log(`Production: ${production}`); @@ -93,7 +93,7 @@ if (production === true) { NODE_ENV: JSON.stringify('production') } }), - new UglifyJsPlugin({ + new TerserPlugin({ parallel: true, sourceMap: false }),