Make Webpack extract all vendor dependencies

This commit is contained in:
Bubka 2023-09-20 14:11:26 +02:00
parent 374de33632
commit 0508f57aeb
2 changed files with 2 additions and 12 deletions

View File

@ -19,9 +19,7 @@
"sass": "^1.44.0",
"sass-loader": "^12.3.0",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.14"
},
"dependencies": {
"vue-template-compiler": "^2.6.14",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",

10
webpack.mix.js vendored
View File

@ -14,15 +14,7 @@ const mix = require('laravel-mix');
mix
.js('resources/js/app.js', 'public/js')
.vue({ version: 2 })
.extract([
'vue',
'axios',
'vue-axios',
'vue-i18n',
'vue-router',
'v-clipboard',
'vuedraggable'
])
.extract()
.sass('resources/sass/app.scss', 'public/css');
// if (!mix.inProduction()) {