Skip to content

Commit

Permalink
feat: set ecmaVersion to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Sep 11, 2018
1 parent f98b8a9 commit edbbbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inject/index.js
Expand Up @@ -56,7 +56,7 @@ export default function(code, id, mod1, mod2, sourceMap) {

try {
ast = parse(code, {
ecmaVersion: 8,
ecmaVersion: 9,
sourceType: 'module'
});
} catch (err) {
Expand Down

0 comments on commit edbbbbd

Please sign in to comment.