Skip to content

tsne/rollup-plugin-tsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-tsc

A small Rollup plugin for transpiling Typescript.

Installation

npm install --save-dev rollup-plugin-tsc

Usage

// 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.

About

A small Rollup plugin for transpiling Typescript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published