Skip to content

Commit b54c72c

Browse files
Move out ast config
1 parent d0a66c6 commit b54c72c

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
node_modules
33

44
# example for dev
5-
example-project
5+
# example-project
66

77
# Remove some common IDE working directories
88
.idea

src/public/dist/bundle.js

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/dist/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/shared/astParse.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
// TODO: add by config
2+
/**
3+
[
4+
'typescript',
5+
'flow',
6+
'bigInt',
7+
]
8+
*/
19
const config = {
210
sourceType: 'module',
311
plugins: [
4-
'typescript',
512
'jsx',
613
'asyncGenerators',
7-
'bigInt',
814
'classProperties',
915
'classPrivateProperties',
1016
'classPrivateMethods',

0 commit comments

Comments
 (0)