Skip to content

Commit 2fce040

Browse files
committed
3.0.0
1 parent e693665 commit 2fce040

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [3.0.0](https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.7...v3.0.0) (2022-05-30)
2+
3+
4+
### Bug Fixes
5+
6+
* use correct import binding ([e693665](https://github.com/wessberg/rollup-plugin-ts/commit/e69366553f192fc5d5104b9643d6d6fcb5d6bdcd))
7+
8+
9+
### Features
10+
11+
* add TypeScript v4.7 support ([aae4588](https://github.com/wessberg/rollup-plugin-ts/commit/aae4588ecb6b2dabe025c353830b23a4e6ee9c2a))
12+
13+
14+
115
## [2.0.7](https://github.com/wessberg/rollup-plugin-ts/compare/v2.0.6...v2.0.7) (2022-04-15)
216

317

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ At the same time, `rollup-plugin-ts` has a very robust test suite that runs test
9696
- [`@babel/runtime` and external helpers](#babelruntime-and-external-helpers)
9797
- [`@babel/runtime` and polyfills](#babelruntime-and-polyfills)
9898
- [Combining Typescript with swc](#combining-typescript-with-swc)
99+
- [Mixing transpilers](#mixing-transpilers)
99100
- [Using `Custom Transformers`](#using-custom-transformers)
100101
- [Declaration files](#declaration-files)
101102
- [Examples](#examples)
102103
- [Pure Typescript example](#pure-typescript-example)
103104
- [Typescript with Browserslist example](#typescript-with-browserslist-example)
104105
- [Typescript, Babel, and Browserslist example](#typescript-babel-and-browserslist-example)
106+
- [Typescript, Babel, and Browserslist example with mixed transpilers](#typescript-babel-and-browserslist-example-with-mixed-transpilers)
105107
- [Typescript, swc, and Browserslist example](#typescript-swc-and-browserslist-example)
108+
- [Typescript, swc, and Browserslist example with mixed transpilers](#typescript-swc-and-browserslist-example-with-mixed-transpilers)
106109
- [Pure Typescript with Custom Transformers](#pure-typescript-with-custom-transformers)
107110
- [Advanced example of using Typescript, Babel, and Browserslists together](#advanced-example-of-using-typescript-babel-and-browserslists-together)
108111
- [Passing a specific TypeScript version](#passing-a-specific-typescript-version)
@@ -405,7 +408,7 @@ By default, some combination of options will be applied depending on the config
405408

406409
### Mixing transpilers
407410

408-
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).
411+
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).
409412
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.
410413

411414
To accomplish this, the `transpiler` option also allows for an options record:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rollup-plugin-ts",
3-
"version": "2.0.7",
3+
"version": "3.0.0",
44
"description": "A TypeScript Rollup plugin that bundles declarations, respects Browserslists, and enables seamless integration with transpilers such as babel and swc",
55
"scripts": {
66
"generate:sandhog": "sandhog all --yes",

0 commit comments

Comments
 (0)