convert @babel/plugin-transform-runtime to typescript (#13216)

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
This commit is contained in:
Bogdan Savluk 2021-05-13 22:27:57 +02:00 committed by GitHub
parent acfff5d7fe
commit 4bf5f45d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 1 deletions

View File

@ -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",

View File

@ -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",
@ -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"
],