This package has been deprecated

Author message:

typescript-esbuild has been deprecated, use @playform/build

typescript-esbuild
TypeScript icon, indicating that this package has built-in type declarations

0.4.10 • Public • Published

Build all your TypeScript files into JavaScript.

Installation

Add configuration and setup scripts:

npm install -D -E typescript-esbuild

Usage

Through a command line run:

npx typescript-esbuild 'Source/**/*.ts'

or in a package.json file:

{
	"scripts": {
		"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'"
	}
}

ESBuild Configuration

Or with a custom ESBuild config file:

package.json

{
	"scripts": {
		"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts' -es ESBuild.ts"
	}
}

See an example of a configuration file in ESBuild.ts

TypeScript Configuration

tsconfig.json

{
	"compilerOptions": {
		"outDir": "Target"
	},
	"extends": "typescript-esbuild/Target/Notation/TypeScript",
	"include": ["Source"]
}

Package Sidebar

Install

npm i typescript-esbuild

Weekly Downloads

6,208

Version

0.4.10

License

SEE LICENSE IN LICENSE

Unpacked Size

13.7 kB

Total Files

29

Last publish

Collaborators

  • nikolarhristov