diff --git a/generator/index.js b/generator/index.js index 370f8414..7c310b28 100755 --- a/generator/index.js +++ b/generator/index.js @@ -17,6 +17,14 @@ module.exports = (api, opts, rootOpts) => { }) } + if (opts.usePolyfill) { + api.extendPackage({ + devDependencies: { + "@babel/polyfill": "^7.0.0-beta.49", + } + }) + } + // Render vuetify plugin file api.render({ './src/plugins/vuetify.js': './templates/default/src/plugins/vuetify.js'