Skip to content

Commit 7ca4eba

Browse files
committed
babel plugin added for export issue
1 parent 74abe7a commit 7ca4eba

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"presets": [
33
"@babel/preset-env",
44
"@babel/preset-typescript"
5+
],
6+
"plugins" : [
7+
"babel-plugin-replace-ts-export-assignment"
58
]
69
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@types/node": "^15.12.2",
3535
"@types/request": "^2.48.5",
3636
"@types/uuid": "^8.3.0",
37+
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
3738
"chai": "^4.2.0",
3839
"codecov": "^3.8.0",
3940
"eslint": "^7.7.0",

yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,11 @@ babel-plugin-polyfill-regenerator@^0.2.2:
13211321
dependencies:
13221322
"@babel/helper-define-polyfill-provider" "^0.2.2"
13231323

1324+
babel-plugin-replace-ts-export-assignment@^0.0.2:
1325+
version "0.0.2"
1326+
resolved "https://registry.yarnpkg.com/babel-plugin-replace-ts-export-assignment/-/babel-plugin-replace-ts-export-assignment-0.0.2.tgz#927a30ba303fcf271108980a8d4f80a693e1d53f"
1327+
integrity sha512-BiTEG2Ro+O1spuheL5nB289y37FFmz0ISE6GjpNCG2JuA/WNcuEHSYw01+vN8quGf208sID3FnZFDwVyqX18YQ==
1328+
13241329
balanced-match@^1.0.0:
13251330
version "1.0.2"
13261331
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"

0 commit comments

Comments
 (0)