SukkaW/rollup-plugin-swc (rollup-plugin-swc3)
### [`v0.11.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0110)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.4...0.11.0)
- Fix [#58](https://togithub.com/SukkaW/rollup-plugin-swc/issues/58)
- `rollup-plugin-swc3` now will only perform module resolution inside the files specified in `include` and `exclude` options.
- Replace `rollup-swc-preserve-directives` with `rollup-preserve-directives`
### [`v0.10.4`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0104)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.3...0.10.4)
- Bump `rollup-swc-preserve-directives` to the latest version
### [`v0.10.3`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0103)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.2...0.10.3)
- Pass correct options to `@swc/core` ([https://github.com/SukkaW/rollup-plugin-swc/pull/54](https://togithub.com/SukkaW/rollup-plugin-swc/pull/54) by [@kdy1](https://togithub.com/kdy1))
### [`v0.10.2`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0102)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.1...0.10.2)
- Add warning message when tsconfig is invalid
- Add rollup 4 official support
### [`v0.10.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0101)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.0...0.10.1)
- Fix [#41](https://togithub.com/SukkaW/rollup-plugin-swc/issues/41)
- `rollup-plugin-swc3` now will always provide `baseUrl` (resolve to an absolute path) to swc as long as the `paths` is specified in the `tsconfig.json` or `jsconfig.json` being read.
### [`v0.10.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0100)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.9.1...0.10.0)
- Fix [#41](https://togithub.com/SukkaW/rollup-plugin-swc/issues/41)
- `rollup-plugin-swc3` now will resolve `baseUrl` to an absolute path against the `tsconfig.json` and `jsconfig.json` being read.
- This is to align with the behavior change of the `swc`: [https://github.com/swc-project/swc/issues/7799](https://togithub.com/swc-project/swc/issues/7799) and [https://github.com/swc-project/swc/issues/7800](https://togithub.com/swc-project/swc/issues/7800).
### [`v0.9.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#091)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.9.0...0.9.1)
- The support for `'use client'` and `'use server'` has been separated into a standalone rollup plugin [`rollup-swc-preserve-directives`](https://togithub.com/huozhi/rollup-plugin-swc-preserve-directives), maintained by [@huozhi](https://togithub.com/huozhi) and me. The previous `preserveUseDirective` named export is retained for the backward compatibility.
### [`v0.9.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#090)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.2...0.9.0)
- Add support for bundling library for React Server Component with the proper `'use client'` and `'use server'` directives handling:
- Merge duplicated directives in the final bundles
- Multiple output chunks will have their own separated directives, useful when bundling client only code and server only code in different bundles.
- Not enabled by default. manually opt-in by changing two lines of code in your `rollup.config.js`:
```diff
// rollup.config.js
// Import `preserveUseDirective` from `rollup-plugin-swc3`...
- import { swc } from 'rollup-plugin-swc3';
+ import { swc, preserveUseDirective } from 'rollup-plugin-swc3';
export default {
input: 'xxxx',
output: {},
plugins: [
swc(),
+ preserveUseDirective()
];
}
```
### [`v0.8.2`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#082)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.1...0.8.2)
- Enable CI auto publish release + npm provenance
### [`v0.8.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#081)
[Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.0...0.8.1)
- Fix TypeScript declaration of `include` and `exclude` option ([#32](https://togithub.com/SukkaW/rollup-plugin-swc/issues/32))
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.8.0
->^0.11.0
Release Notes
SukkaW/rollup-plugin-swc (rollup-plugin-swc3)
### [`v0.11.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0110) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.4...0.11.0) - Fix [#58](https://togithub.com/SukkaW/rollup-plugin-swc/issues/58) - `rollup-plugin-swc3` now will only perform module resolution inside the files specified in `include` and `exclude` options. - Replace `rollup-swc-preserve-directives` with `rollup-preserve-directives` ### [`v0.10.4`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0104) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.3...0.10.4) - Bump `rollup-swc-preserve-directives` to the latest version ### [`v0.10.3`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0103) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.2...0.10.3) - Pass correct options to `@swc/core` ([https://github.com/SukkaW/rollup-plugin-swc/pull/54](https://togithub.com/SukkaW/rollup-plugin-swc/pull/54) by [@kdy1](https://togithub.com/kdy1)) ### [`v0.10.2`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0102) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.1...0.10.2) - Add warning message when tsconfig is invalid - Add rollup 4 official support ### [`v0.10.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0101) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.10.0...0.10.1) - Fix [#41](https://togithub.com/SukkaW/rollup-plugin-swc/issues/41) - `rollup-plugin-swc3` now will always provide `baseUrl` (resolve to an absolute path) to swc as long as the `paths` is specified in the `tsconfig.json` or `jsconfig.json` being read. ### [`v0.10.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#0100) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.9.1...0.10.0) - Fix [#41](https://togithub.com/SukkaW/rollup-plugin-swc/issues/41) - `rollup-plugin-swc3` now will resolve `baseUrl` to an absolute path against the `tsconfig.json` and `jsconfig.json` being read. - This is to align with the behavior change of the `swc`: [https://github.com/swc-project/swc/issues/7799](https://togithub.com/swc-project/swc/issues/7799) and [https://github.com/swc-project/swc/issues/7800](https://togithub.com/swc-project/swc/issues/7800). ### [`v0.9.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#091) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.9.0...0.9.1) - The support for `'use client'` and `'use server'` has been separated into a standalone rollup plugin [`rollup-swc-preserve-directives`](https://togithub.com/huozhi/rollup-plugin-swc-preserve-directives), maintained by [@huozhi](https://togithub.com/huozhi) and me. The previous `preserveUseDirective` named export is retained for the backward compatibility. ### [`v0.9.0`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#090) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.2...0.9.0) - Add support for bundling library for React Server Component with the proper `'use client'` and `'use server'` directives handling: - Merge duplicated directives in the final bundles - Multiple output chunks will have their own separated directives, useful when bundling client only code and server only code in different bundles. - Not enabled by default. manually opt-in by changing two lines of code in your `rollup.config.js`: ```diff // rollup.config.js // Import `preserveUseDirective` from `rollup-plugin-swc3`... - import { swc } from 'rollup-plugin-swc3'; + import { swc, preserveUseDirective } from 'rollup-plugin-swc3'; export default { input: 'xxxx', output: {}, plugins: [ swc(), + preserveUseDirective() ]; } ``` ### [`v0.8.2`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#082) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.1...0.8.2) - Enable CI auto publish release + npm provenance ### [`v0.8.1`](https://togithub.com/SukkaW/rollup-plugin-swc/blob/HEAD/CHANGELOG.md#081) [Compare Source](https://togithub.com/SukkaW/rollup-plugin-swc/compare/0.8.0...0.8.1) - Fix TypeScript declaration of `include` and `exclude` option ([#32](https://togithub.com/SukkaW/rollup-plugin-swc/issues/32))Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.