Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 140cef2

Browse files
committed
add @babel/polyfill
1 parent dd78349 commit 140cef2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

generator/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ module.exports = (api, opts, rootOpts) => {
1717
})
1818
}
1919

20+
if (opts.usePolyfill) {
21+
api.extendPackage({
22+
devDependencies: {
23+
"@babel/polyfill": "^7.0.0-beta.49",
24+
}
25+
})
26+
}
27+
2028
// Render vuetify plugin file
2129
api.render({
2230
'./src/plugins/vuetify.js': './templates/default/src/plugins/vuetify.js'

0 commit comments

Comments
 (0)