Skip to content

Commit

Permalink
convert @babel/plugin-transform-runtime to typescript (#13216)
Browse files Browse the repository at this point in the history
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
  • Loading branch information
zxbodya and JLHwung committed May 13, 2021
1 parent acfff5d commit 4bf5f45
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"browser": {
"./lib/get-runtime-path/index.js": "./lib/get-runtime-path/browser.js",
"./src/get-runtime-path/index.js": "./src/get-runtime-path/browser.js"
"./src/get-runtime-path/index.ts": "./src/get-runtime-path/browser.ts"
},
"dependencies": {
"@babel/helper-module-imports": "workspace:^7.13.12",
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"./packages/babel-plugin-proposal-async-do-expressions/src/**/*.ts",
"./packages/babel-plugin-syntax-async-do-expressions/src/**/*.ts",
"./packages/babel-plugin-transform-react-jsx/src/**/*.ts",
"./packages/babel-plugin-transform-runtime/src/**/*.ts",
"./packages/babel-plugin-transform-typescript/src/**/*.ts",
"./packages/babel-template/src/**/*.ts",
"./packages/babel-traverse/src/**/*.ts",
Expand Down Expand Up @@ -109,6 +110,9 @@
"@babel/plugin-transform-react-jsx": [
"./packages/babel-plugin-transform-react-jsx/src"
],
"@babel/plugin-transform-runtime": [
"./packages/babel-plugin-transform-runtime/src"
],
"@babel/plugin-transform-typescript": [
"./packages/babel-plugin-transform-typescript/src"
],
Expand Down

0 comments on commit 4bf5f45

Please sign in to comment.