├── .github └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── .node-version ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── eslint.config.js ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── directive.ts ├── index.ts └── options.ts ├── test ├── __snapshots__ │ └── index.ts.snap ├── fixtures │ ├── custom-tsconfig │ │ ├── index.jsx │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── decorators │ │ └── index.ts │ ├── directive-include-use-client │ │ └── index.tsx │ ├── directive-merge-use-client │ │ ├── bar.ts │ │ ├── foo.ts │ │ └── index.tsx │ ├── directive-split-entry │ │ ├── client.ts │ │ └── server.ts │ ├── disable-reading-tsconfig │ │ ├── .swcrc │ │ ├── index.jsx │ │ └── tsconfig.json │ ├── extensions │ │ ├── index.mts │ │ └── module.cts │ ├── issue-58 │ │ ├── index.ts │ │ └── package.json │ ├── jsconfig-custom-jsx-factory │ │ ├── index.tsx │ │ └── jsconfig.json │ ├── legacy-decorators │ │ ├── index.ts │ │ └── tsconfig.json │ ├── load-json │ │ ├── foo.json │ │ └── index.js │ ├── load-jsx-tsx │ │ ├── foo.tsx │ │ ├── index.js │ │ └── some.util.ts │ ├── minify │ │ ├── foo.tsx │ │ └── index.js │ ├── react-17-jsx-transform │ │ ├── index.tsx │ │ ├── tsconfig.compiled.json │ │ └── tsconfig.react-jsx.json │ ├── resolve-index │ │ ├── foo │ │ │ └── index.tsx │ │ └── index.js │ ├── rollup-commonjs │ │ ├── bar.js │ │ ├── foo.js │ │ └── index.js │ ├── simple │ │ ├── bar.mjs │ │ ├── foo.tsx │ │ └── index.js │ ├── standalone-minify │ │ └── index.js │ ├── tsconfig-base-url-only-relative-issue-63 │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── tsconfig-baseurl-paths │ │ ├── src │ │ │ ├── components │ │ │ │ └── a.ts │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── b.ts │ │ └── tsconfig.json │ ├── tsconfig-custom-jsx-factory │ │ ├── index.tsx │ │ └── tsconfig.json │ ├── tsconfig-extends │ │ ├── index.jsx │ │ ├── jsconfig.custom.json │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ ├── tsconfig-full-path │ │ ├── foo │ │ │ └── bar │ │ │ │ └── tsconfig.json │ │ ├── index.jsx │ │ └── tsconfig.json │ ├── tsconfig-jsconfig │ │ ├── index.tsx │ │ ├── jsconfig.json │ │ └── tsconfig.json │ ├── tsconfig-paths │ │ ├── src │ │ │ ├── components │ │ │ │ └── a.ts │ │ │ ├── index.ts │ │ │ └── lib │ │ │ │ └── b.ts │ │ └── tsconfig.json │ └── tsconfig-resolve-to-nearest-tsconfig │ │ ├── bar │ │ ├── index.tsx │ │ └── tsconfig.json │ │ ├── foo │ │ ├── index.jsx │ │ └── tsconfig.json │ │ ├── index.jsx │ │ └── tsconfig.json └── index.ts ├── tools └── build.ts └── tsconfig.json /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | types 3 | dist 4 | .temp 5 | -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/.npmignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /src/directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/src/directive.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/src/options.ts -------------------------------------------------------------------------------- /test/__snapshots__/index.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/__snapshots__/index.ts.snap -------------------------------------------------------------------------------- /test/fixtures/custom-tsconfig/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/custom-tsconfig/index.jsx -------------------------------------------------------------------------------- /test/fixtures/custom-tsconfig/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/custom-tsconfig/tsconfig.build.json -------------------------------------------------------------------------------- /test/fixtures/custom-tsconfig/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/custom-tsconfig/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/decorators/index.ts -------------------------------------------------------------------------------- /test/fixtures/directive-include-use-client/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/directive-include-use-client/index.tsx -------------------------------------------------------------------------------- /test/fixtures/directive-merge-use-client/bar.ts: -------------------------------------------------------------------------------- 1 | "use client"; 2 | export const bar = 'sukka'; 3 | -------------------------------------------------------------------------------- /test/fixtures/directive-merge-use-client/foo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/directive-merge-use-client/foo.ts -------------------------------------------------------------------------------- /test/fixtures/directive-merge-use-client/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/directive-merge-use-client/index.tsx -------------------------------------------------------------------------------- /test/fixtures/directive-split-entry/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/directive-split-entry/client.ts -------------------------------------------------------------------------------- /test/fixtures/directive-split-entry/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/directive-split-entry/server.ts -------------------------------------------------------------------------------- /test/fixtures/disable-reading-tsconfig/.swcrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/disable-reading-tsconfig/.swcrc -------------------------------------------------------------------------------- /test/fixtures/disable-reading-tsconfig/index.jsx: -------------------------------------------------------------------------------- 1 | export const foo = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/disable-reading-tsconfig/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/disable-reading-tsconfig/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/extensions/index.mts: -------------------------------------------------------------------------------- 1 | import { foo } from './module' 2 | console.log(foo); 3 | -------------------------------------------------------------------------------- /test/fixtures/extensions/module.cts: -------------------------------------------------------------------------------- 1 | module.exports.foo = 'sukka'; 2 | -------------------------------------------------------------------------------- /test/fixtures/issue-58/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/issue-58/index.ts -------------------------------------------------------------------------------- /test/fixtures/issue-58/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/issue-58/package.json -------------------------------------------------------------------------------- /test/fixtures/jsconfig-custom-jsx-factory/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/jsconfig-custom-jsx-factory/index.tsx -------------------------------------------------------------------------------- /test/fixtures/jsconfig-custom-jsx-factory/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/jsconfig-custom-jsx-factory/jsconfig.json -------------------------------------------------------------------------------- /test/fixtures/legacy-decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/legacy-decorators/index.ts -------------------------------------------------------------------------------- /test/fixtures/legacy-decorators/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/legacy-decorators/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/load-json/foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": true 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/load-json/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/load-json/index.js -------------------------------------------------------------------------------- /test/fixtures/load-jsx-tsx/foo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/load-jsx-tsx/foo.tsx -------------------------------------------------------------------------------- /test/fixtures/load-jsx-tsx/index.js: -------------------------------------------------------------------------------- 1 | import Foo from './foo.js' 2 | 3 | console.log(Foo) 4 | -------------------------------------------------------------------------------- /test/fixtures/load-jsx-tsx/some.util.ts: -------------------------------------------------------------------------------- 1 | export const util = 42 2 | -------------------------------------------------------------------------------- /test/fixtures/minify/foo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/minify/foo.tsx -------------------------------------------------------------------------------- /test/fixtures/minify/index.js: -------------------------------------------------------------------------------- 1 | import Foo from './foo' 2 | console.log(Foo) 3 | -------------------------------------------------------------------------------- /test/fixtures/react-17-jsx-transform/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/react-17-jsx-transform/index.tsx -------------------------------------------------------------------------------- /test/fixtures/react-17-jsx-transform/tsconfig.compiled.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/react-17-jsx-transform/tsconfig.compiled.json -------------------------------------------------------------------------------- /test/fixtures/react-17-jsx-transform/tsconfig.react-jsx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/react-17-jsx-transform/tsconfig.react-jsx.json -------------------------------------------------------------------------------- /test/fixtures/resolve-index/foo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/resolve-index/foo/index.tsx -------------------------------------------------------------------------------- /test/fixtures/resolve-index/index.js: -------------------------------------------------------------------------------- 1 | import Foo from './foo' 2 | console.log(Foo) 3 | -------------------------------------------------------------------------------- /test/fixtures/rollup-commonjs/bar.js: -------------------------------------------------------------------------------- 1 | exports.Bar = 'bar' 2 | -------------------------------------------------------------------------------- /test/fixtures/rollup-commonjs/foo.js: -------------------------------------------------------------------------------- 1 | module.exports = 'foo' 2 | -------------------------------------------------------------------------------- /test/fixtures/rollup-commonjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/rollup-commonjs/index.js -------------------------------------------------------------------------------- /test/fixtures/simple/bar.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/simple/bar.mjs -------------------------------------------------------------------------------- /test/fixtures/simple/foo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/simple/foo.tsx -------------------------------------------------------------------------------- /test/fixtures/simple/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/simple/index.js -------------------------------------------------------------------------------- /test/fixtures/standalone-minify/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/standalone-minify/index.js -------------------------------------------------------------------------------- /test/fixtures/tsconfig-base-url-only-relative-issue-63/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-base-url-only-relative-issue-63/src/index.ts -------------------------------------------------------------------------------- /test/fixtures/tsconfig-base-url-only-relative-issue-63/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-base-url-only-relative-issue-63/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-baseurl-paths/src/components/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-baseurl-paths/src/components/a.ts -------------------------------------------------------------------------------- /test/fixtures/tsconfig-baseurl-paths/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-baseurl-paths/src/index.ts -------------------------------------------------------------------------------- /test/fixtures/tsconfig-baseurl-paths/src/lib/b.ts: -------------------------------------------------------------------------------- 1 | export const b = 'b'; 2 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-baseurl-paths/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-baseurl-paths/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-custom-jsx-factory/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-custom-jsx-factory/index.tsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-custom-jsx-factory/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-custom-jsx-factory/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-extends/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-extends/index.jsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-extends/jsconfig.custom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-extends/jsconfig.custom.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-extends/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-extends/tsconfig.build.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-extends/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-extends/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-full-path/foo/bar/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { "jsxFactory": "hFoo" } 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-full-path/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-full-path/index.jsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-full-path/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { "jsxFactory": "hBar" } 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-jsconfig/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-jsconfig/index.tsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-jsconfig/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-jsconfig/jsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-jsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-paths/src/components/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-paths/src/components/a.ts -------------------------------------------------------------------------------- /test/fixtures/tsconfig-paths/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-paths/src/index.ts -------------------------------------------------------------------------------- /test/fixtures/tsconfig-paths/src/lib/b.ts: -------------------------------------------------------------------------------- 1 | export const b = 'b'; 2 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-paths/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-paths/tsconfig.json -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/bar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-resolve-to-nearest-tsconfig/bar/index.tsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/bar/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { "jsxFactory": "hBar" } 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/foo/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-resolve-to-nearest-tsconfig/foo/index.jsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/foo/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { "jsxFactory": "hFoo" } 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/fixtures/tsconfig-resolve-to-nearest-tsconfig/index.jsx -------------------------------------------------------------------------------- /test/fixtures/tsconfig-resolve-to-nearest-tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { "jsxFactory": "h" } 3 | } 4 | -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/test/index.ts -------------------------------------------------------------------------------- /tools/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/tools/build.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SukkaW/rollup-plugin-swc/HEAD/tsconfig.json --------------------------------------------------------------------------------