一覧へ戻る
tsne/rollup-plugin-tsc(新しいタブで開きます)
主要言語: JavaScript
A small Rollup plugin for transpiling Typescript.
- star 数
- 3
- watcher 数
- 1
- fork 数
- 2
- issue 数
- 1
- 最終更新
- 2024/09/27
主要言語: JavaScript
A small Rollup plugin for transpiling Typescript.
A small Rollup plugin for transpiling Typescript.
npm install --save-dev rollup-plugin-tsc
// rollup.config.js import tsc from "rollup-plugin-tsc"; export default { input: "src/main.ts", plugins: [ tsc({ // put your tsconfig here }), ] };
The plugin simply transpiles Typescript into Javascript. To configure the Typescript compiler, the tsconfig has to be passed to the plugin. There is no need to hold a separate tsconfig.json file in the project.