File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ module.exports = function nuxtBootstrapVue(moduleOptions = {}) {
19
19
}
20
20
21
21
// Ensure we have arrays
22
- this . options . css = this . options . css || [ ]
23
- this . options . build . transpile = this . options . build . transpile || [ ]
22
+ this . options . css = [ ] . concat ( this . options . css || [ ] )
23
+ this . options . build . transpile = [ ] . concat ( this . options . build . transpile || [ ] )
24
24
25
25
const bootstrapVueCSS = pickFirst (
26
26
options . bootstrapVueCSS ,
@@ -62,6 +62,7 @@ module.exports = function nuxtBootstrapVue(moduleOptions = {}) {
62
62
63
63
templateOptions [ type ] = bvPlugins
64
64
// Normalize plugin name to `${Name}Plugin` (component) or `VB${Name}Plugin` (directive)
65
+ // Required for backwards compatability with old plugin import names
65
66
. map ( plugin => {
66
67
plugin = type === 'directivePlugins' && ! / ^ V B / . test ( plugin ) ? `VB${ plugin } ` : plugin
67
68
plugin = / P l u g i n $ / . test ( plugin ) ? plugin : `${ plugin } Plugin`
You can’t perform that action at this time.
0 commit comments