mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 02:41:08 +08:00
acorn config: raise ecmaVersion to 9
This commit is contained in:
parent
c0692d1f9f
commit
e2a7209205
@ -9,7 +9,7 @@ require('acorn-jsx/inject')(acorn);
|
||||
require('acorn-es7')(acorn);
|
||||
|
||||
const acornConfig = {
|
||||
ecmaVersion: '6',
|
||||
ecmaVersion: '9',
|
||||
sourceType: 'module',
|
||||
plugins: {
|
||||
jsx: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user