Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed May 30, 2022
1 parent e693665 commit 2fce040
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [3.0.0](https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.7...v3.0.0) (2022-05-30)


### Bug Fixes

* use correct import binding ([e693665](https://github.com/wessberg/rollup-plugin-ts/commit/e69366553f192fc5d5104b9643d6d6fcb5d6bdcd))


### Features

* add TypeScript v4.7 support ([aae4588](https://github.com/wessberg/rollup-plugin-ts/commit/aae4588ecb6b2dabe025c353830b23a4e6ee9c2a))



## [2.0.7](https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.6...v2.0.7) (2022-04-15)


Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,16 @@ At the same time, `rollup-plugin-ts` has a very robust test suite that runs test
- [`@babel/runtime` and external helpers](#babelruntime-and-external-helpers)
- [`@babel/runtime` and polyfills](#babelruntime-and-polyfills)
- [Combining Typescript with swc](#combining-typescript-with-swc)
- [Mixing transpilers](#mixing-transpilers)
- [Using `Custom Transformers`](#using-custom-transformers)
- [Declaration files](#declaration-files)
- [Examples](#examples)
- [Pure Typescript example](#pure-typescript-example)
- [Typescript with Browserslist example](#typescript-with-browserslist-example)
- [Typescript, Babel, and Browserslist example](#typescript-babel-and-browserslist-example)
- [Typescript, Babel, and Browserslist example with mixed transpilers](#typescript-babel-and-browserslist-example-with-mixed-transpilers)
- [Typescript, swc, and Browserslist example](#typescript-swc-and-browserslist-example)
- [Typescript, swc, and Browserslist example with mixed transpilers](#typescript-swc-and-browserslist-example-with-mixed-transpilers)
- [Pure Typescript with Custom Transformers](#pure-typescript-with-custom-transformers)
- [Advanced example of using Typescript, Babel, and Browserslists together](#advanced-example-of-using-typescript-babel-and-browserslists-together)
- [Passing a specific TypeScript version](#passing-a-specific-typescript-version)
Expand Down Expand Up @@ -405,7 +408,7 @@ By default, some combination of options will be applied depending on the config

### Mixing transpilers

By default, the transpiler you select, such as `typescript`, `babel`, or `swc`, is used for the entire syntax transformation. However, you may want to mix these. There can be quite good reasons why you may want that, [as described here](#okay-then-why-wouldnt-you-use-just-babel).
By default, the transpiler you select, such as `typescript`, `babel`, or `swc`, is used for the entire syntax transformation. However, you may want to mix these. There can be quite good reasons why you may want that, [as described here](#okay-then-why-wouldnt-you-use-just-babel).
In short, you may find value in using the TypeScript compiler for stripping away the TypeScript specific syntax, and then delegate the remaining syntax transformations to swc or babel.

To accomplish this, the `transpiler` option also allows for an options record:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rollup-plugin-ts",
"version": "2.0.7",
"version": "3.0.0",
"description": "A TypeScript Rollup plugin that bundles declarations, respects Browserslists, and enables seamless integration with transpilers such as babel and swc",
"scripts": {
"generate:sandhog": "sandhog all --yes",
Expand Down

0 comments on commit 2fce040

Please sign in to comment.