Allow `@babel/preset-typescript` to be configured (#11840)
* Allow `@babel/preset-typescript` to be configured Some usages, e.g. [getting parameter decorators to work properly](https://github.com/WarnerHooh/babel-plugin-parameter-decorator/pull/19), require configuring `@babel/preset-typescript`. This commit adds that functionality to `next/babel`. * Add unit test for babel/preset allowing to pass options to @babel/preset-typescript * Add integration test for onlyRemoveTypeImports * Update babel dependencies * Update to compatible typescript version and fix types * Fix linting and run pre-nccing * Update size-limit test * Add additional tests * Re-Apply delta to be calculated using -262 Co-authored-by:JJ Kasper <jj@jjsweb.site>
Showing
| ... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
| "tailwindcss": "1.1.3", | "tailwindcss": "1.1.3", | ||
| "taskr": "1.1.0", | "taskr": "1.1.0", | ||
| "tree-kill": "1.2.1", | "tree-kill": "1.2.1", | ||
| "typescript": "3.7.3", | "typescript": "3.8.3", | ||
| "wait-port": "0.2.2", | "wait-port": "0.2.2", | ||
| "webpack-bundle-analyzer": "3.6.1" | "webpack-bundle-analyzer": "3.6.1" | ||
| }, | }, | ||
| ... | ... |
This diff is collapsed.
Please
register
or
sign in
to comment