Package Exports
- typescript-esbuild
- typescript-esbuild/Target/Class/TypeScriptESBuild.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.
Installation
Add configuration and setup scripts:
npm install -D -E typescript-esbuildUsage
package.json
{
"name": "package",
"scripts": {
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'"
},
"devDependencies": {
"typescript-esbuild": "0.2.4"
}
}ESBuild Configuration
Or with a custom esbuild config file:
{
"scripts": {
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts' -es ESBuild.ts"
}
}TypeScript Configuration
See an example of a configuration file in Configuration.ts
tsconfig.json
{
"compilerOptions": {
"outDir": "Target"
},
"extends": "typescript-esbuild/Target/Notation/TypeScript",
"include": ["Source"]
}