Skip to content

Commit 0ac2ccb

Browse files
committed
Remove vendor and plugins
1 parent c7ccaa7 commit 0ac2ccb

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

client/nuxt.config.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const webpack = require('webpack')
2-
31
require('dotenv').config()
42

53
const polyfills = [
@@ -49,7 +47,7 @@ module.exports = {
4947
},
5048

5149
css: [
52-
{ src: '~assets/sass/app.scss', lang: 'lesscss' }
50+
{ src: '~assets/sass/app.scss', lang: 'scss' }
5351
],
5452

5553
plugins: [
@@ -68,20 +66,6 @@ module.exports = {
6866
],
6967

7068
build: {
71-
extractCSS: true,
72-
73-
vendor: [
74-
'vform', 'axios', 'jquery', 'bootstrap',
75-
'js-cookie', 'popper.js', 'sweetalert2', 'vue-i18n'
76-
],
77-
78-
plugins: [
79-
new webpack.ProvidePlugin({
80-
$: 'jquery',
81-
jQuery: 'jquery',
82-
'window.jQuery': 'jquery',
83-
Popper: ['popper.js', 'default']
84-
})
85-
]
69+
extractCSS: true
8670
}
8771
}

0 commit comments

Comments
 (0)