Skip to content

Commit

Permalink
feat: bundle runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
kagawagao committed Oct 19, 2021
1 parent 29497f8 commit 74b9b71
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
9 changes: 0 additions & 9 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,4 @@ module.exports = {
],
'@babel/preset-typescript',
],
plugins: [
[
'@babel/plugin-transform-runtime',
{
version: require('@babel/runtime/package.json').version,
},
],
'@babel/plugin-proposal-class-properties',
],
}
9 changes: 6 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"typescript": "^4.4.4"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@types/command-exists": "^1.2.0",
"chalk": "^4.1.2",
"command-exists": "^1.2.9",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
// "checkJs": true, /* Report errors in .js files. */
"jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */,
"declaration": true /* Generates corresponding '.d.ts' file. */,
"emitDeclarationOnly": true,
"emitDeclarationOnly": false,
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
"outDir": "./lib" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
Expand Down

0 comments on commit 74b9b71

Please sign in to comment.