1
Fork 0
A small, hacky Rollup plugin for TypeScript https://conduitry.dev/cheap-ts
Go to file
Conduitry ec58920e09 v1.0.2 @ a8ceb6057b 2018-11-10 19:49:13 -05:00
dist v1.0.2 @ a8ceb6057b 2018-11-10 19:49:13 -05:00
LICENSE v1.0.2 @ a8ceb6057b 2018-11-10 19:49:13 -05:00
README.md v1.0.2 @ a8ceb6057b 2018-11-10 19:49:13 -05:00
package.json v1.0.2 @ a8ceb6057b 2018-11-10 19:49:13 -05:00

README.md

rollup-plugin-cheap-ts

A hacky lightweight Rollup plugin for transpiling and bundling libraries written in TypeScript.

Installation

This is not published to npm. Install from Git tags.

Usage

Include the plugin in your rollup.config.js:

import cheapTS from 'rollup-plugin-cheap-ts';

export default {
	// ...
	plugins: [
		// ...
		cheapTS(),
		// ...
	],
};

You must have a tsconfig.json in the same directory as your rollup.config.js. This file must specify an "include": [] array, as this is used when calling the tsc binary so it knows which .ts files to compile.

All extensionless imports must be TypeScript files.

License

Copyright (c) 2018 Conduitry