| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,6 +18,7 @@ const hacks = [ | |||
| 18 | 18 | 'eslint-plugin-markdown', | |
| 19 | 19 | '@babel/eslint-parser', | |
| 20 | 20 | '@babel/plugin-syntax-class-properties', | |
| 21 | + '@babel/plugin-syntax-top-level-await', | ||
| 21 | 22 | ]; | |
| 22 | 23 | Module._findPath = (request, paths, isMain) => { | |
| 23 | 24 | const r = ModuleFindPath(request, paths, isMain); | |
@@ -41,7 +42,10 @@ module.exports = { | |||
| 41 | 42 | parser: '@babel/eslint-parser', | |
| 42 | 43 | parserOptions: { | |
| 43 | 44 | babelOptions: { | |
| 44 | - plugins: [Module._findPath('@babel/plugin-syntax-class-properties')], | ||
| 45 | + plugins: [ | ||
| 46 | + Module._findPath('@babel/plugin-syntax-class-properties'), | ||
| 47 | + Module._findPath('@babel/plugin-syntax-top-level-await'), | ||
| 48 | + ], | ||
| 45 | 49 | }, | |
| 46 | 50 | requireConfigFile: false, | |
| 47 | 51 | sourceType: 'script', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments