File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 36
36
"@babel/plugin-proposal-nullish-coalescing-operator" : " ^7.16.7" ,
37
37
"@babel/plugin-proposal-optional-chaining" : " ^7.16.7" ,
38
38
"@babel/plugin-transform-runtime" : " ^7.17.0" ,
39
+ "@babel/plugin-syntax-import-assertions" : " ^7.18.6" ,
39
40
"@babel/preset-env" : " ^7.16.11" ,
40
41
"@babel/runtime" : " ^7.17.2" ,
41
42
"@typescript-eslint/eslint-plugin" : " ^4.33.0" ,
42
43
"@typescript-eslint/parser" : " ^4.33.0" ,
43
- "babel- eslint" : " ^10.0 .2" ,
44
+ "@ babel/ eslint-parser " : " ^7.8 .2" ,
44
45
"babel-jest" : " ^26.6.3" ,
45
46
"babel-loader" : " ^8.2.3" ,
46
47
"babel-plugin-source-map-support" : " ^2.1.3" ,
Original file line number Diff line number Diff line change 2
2
"env" : {
3
3
"es6" : true
4
4
},
5
- "parser" : " babel- eslint" ,
5
+ "parser" : " @ babel/ eslint-parser " ,
6
6
"parserOptions" : {
7
- "ecmaVersion" : 2017 ,
8
- "sourceType" : " module"
7
+ "requireConfigFile" : false ,
8
+ "sourceType" : " module" ,
9
+ "babelOptions" : {
10
+ "plugins" : [
11
+ " @babel/plugin-syntax-import-assertions"
12
+ ]
13
+ }
9
14
},
10
15
"extends" : " strongloop" ,
11
16
"rules" : {
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ function statModeToOctal(mode) {
125
125
126
126
function babelLoader ( ) {
127
127
const plugins = [
128
+ "@babel/plugin-syntax-import-assertions" ,
128
129
"@babel/plugin-transform-runtime" ,
129
130
"@babel/plugin-proposal-class-properties" ,
130
131
"@babel/plugin-proposal-optional-chaining" ,
You can’t perform that action at this time.
0 commit comments