- Notifications
You must be signed in to change notification settings - Fork61
This module has moved and is now available at @rollup/plugin-typescript /https://github.com/rollup/plugins/blob/master/packages/typescript
License
rollup/rollup-plugin-typescript
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Seamless integration between Rollup and Typescript.
npm install --save-dev rollup-plugin-typescript
// rollup.config.jsimporttypescriptfrom'rollup-plugin-typescript';exportdefault{entry:'./main.ts',plugins:[typescript()]}
The plugin loads anycompilerOptions from thetsconfig.json file by default. Passing options to the plugin directly overrides those options.
The following options are unique torollup-plugin-typescript:
options.includeandoptions.exclude(each a minimatch pattern, or array of minimatch patterns), which determine which files are transpiled by Typescript (all.tsand.tsxfiles by default).tsconfigwhen set to false, ignores any options specified in the config filetypescriptoverrides TypeScript used for transpilation
TypeScript 1.8.9 is used by default. Should your project require it, you can override the TypeScript version used fortranspiling the sources.
typescript({typescript:require('some-fork-of-typescript')})
Emit-less types, see#28.
About
This module has moved and is now available at @rollup/plugin-typescript /https://github.com/rollup/plugins/blob/master/packages/typescript
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.