A small, hacky Rollup plugin for TypeScript https://conduitry.dev/cheap-ts
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Conduitry 4293c215c6 v1.1.1 1 månad sedan
CHANGELOG.md v1.1.1 1 månad sedan
LICENSE update readme/homepage 1 år sedan
README.md update readme/homepage 1 år sedan
index.js avoid deprecation warning by trying this.resolve before this.resolveId 1 månad sedan
package.json v1.1.1 1 månad sedan



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


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


Include the plugin in your rollup.config.js:

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

export default {
	// ...
	plugins: [
		// ...
		// ...

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.