Package Exports
- typescript-esbuild
- typescript-esbuild/Target/Index.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-esbuild
Usage
package.json
{
"name": "package",
"scripts": {
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts'"
},
"dependencies": {
"typescript-esbuild": "0.1.13"
}
}
or with a custom esbuild config file:
{
"scripts": {
"prepublishOnly": "TypeScriptESBuild 'Source/**/*.ts' -es ESBuild.ts"
}
}
See an example of a config file in ESBuild.ts
tsconfig.json
{
"compilerOptions": {
"outDir": "Target"
},
"extends": "typescript-esbuild/Target/Configuration/TypeScript",
"include": ["Source"]
}