1
Fork 0
A small, hacky Rollup plugin for TypeScript https://conduitry.dev/cheap-ts
Go to file
Conduitry da6beeab3c v1.0.5 2018-11-11 19:43:22 -05:00
src display output/errors from tsc 2018-11-11 19:01:00 -05:00
.gitignore initial version 2018-11-10 11:42:15 -05:00
CHANGELOG.md v1.0.5 2018-11-11 19:43:22 -05:00
LICENSE add license 2018-11-10 13:01:18 -05:00
README.md update readme 2018-11-11 17:47:58 -05:00
package.json v1.0.5 2018-11-11 19:43:22 -05:00
rollup.config.js initial version 2018-11-10 11:42:15 -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 must specify a "compilerOptions"."target" of at least "ES6". There are a few other options that must not be specified. (The plugin will check for these.) All extensionless imports from .ts files must refer to .ts files.

License

Copyright (c) 2018 Conduitry