Package Exports
- typescript-esbuild
- typescript-esbuild/Target/Class/TypeScriptESBuild.js
- typescript-esbuild/Target/Function/Merge.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typescript-esbuild) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
TypeScriptESBuild 🌀
Builds all your TypeScript files into JavaScript and generates documentation for it using TypeDoc.
Installation
Add configuration and setup scripts:
npm install -D -E typescript-esbuild
Usage
package.json
{
"name": "package",
"scripts": {
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'"
},
"devDependencies": {
"typescript-esbuild": "0.3.5"
}
}
ESBuild Configuration
Or with a custom esbuild config file:
{
"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"]
}