@mrgrain/cdk-esbuild 3.0.0-rc.0 โ 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +22 -21
- package/.jsii +260 -85
- package/.projenrc.ts +44 -35
- package/API.md +96 -0
- package/CHANGELOG.md +2 -33
- package/LICENSE +1 -1
- package/README.md +19 -11
- package/lib/asset.js +2 -2
- package/lib/bundler.d.ts +1 -1
- package/lib/bundler.js +5 -5
- package/lib/code.d.ts +1 -1
- package/lib/code.js +6 -6
- package/lib/esbuild-types.d.ts +74 -0
- package/lib/esbuild-types.js +1 -1
- package/lib/inline-code.js +4 -4
- package/lib/source.js +6 -6
- package/package.json +30 -30
- package/projenrc/TypeScriptSourceFile.ts +1 -1
- package/releasetag.txt +1 -0
- package/version.txt +1 -0
package/.jsii
CHANGED
|
@@ -2777,7 +2777,7 @@
|
|
|
2777
2777
|
"stability": "stable"
|
|
2778
2778
|
},
|
|
2779
2779
|
"homepage": "https://github.com/mrgrain/cdk-esbuild",
|
|
2780
|
-
"jsiiVersion": "1.
|
|
2780
|
+
"jsiiVersion": "1.52.1 (build 5ccc8f6)",
|
|
2781
2781
|
"keywords": [
|
|
2782
2782
|
"aws-cdk",
|
|
2783
2783
|
"bundler",
|
|
@@ -2795,11 +2795,12 @@
|
|
|
2795
2795
|
"pacmak": {
|
|
2796
2796
|
"hasDefaultInterfaces": true
|
|
2797
2797
|
}
|
|
2798
|
-
}
|
|
2798
|
+
},
|
|
2799
|
+
"tscRootDir": "src"
|
|
2799
2800
|
},
|
|
2800
2801
|
"name": "@mrgrain/cdk-esbuild",
|
|
2801
2802
|
"readme": {
|
|
2802
|
-
"markdown": "# cdk-esbuild\n\n_CDK constructs for [esbuild](https://github.com/evanw/esbuild), an extremely fast JavaScript bundler_\n\n[Getting started](#getting-started) | [Migrating to v3](#migrating-to-v3) |\n[Documentation](#documentation) | [API Reference](#api-reference) | [Versioning](#versioning)\n\n## Why?\n\n_esbuild_ is an extremely fast bundler and minifier for Typescript and JavaScript.\nThis package makes _esbuild_ available to deploy lambda functions, static websites or to publish build artefacts (assets) for further use.\n\nAWS CDK [supports _esbuild_ with Lambda Functions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html). However the implementation cannot be used with any other Constructs and doesn't expose all of _esbuild_'s build interface.\n\nThis package is running _esbuild_ directly in Node.js and bypasses Docker which the AWS CDK implementation uses. The approach is quicker and easier to use for Node.js users, but incompatible with other languages.\n\n**Production readiness**\n\nThis package is generally stable and ready to be used in production, as many do. However _esbuild_ not yet released a version 1.0.0 yet and its API is still in active development. Please check their guide on [production readiness](https://esbuild.github.io/faq/#production-readiness).\n\nNotably upgrades of the _esbuild_ minimum version requirement will be introduced in **minor versions** of this package and will inherit breaking changes from _esbuild_.\n\n## Getting started\n\nInstall `cdk-esbuild`:\n\n```\nnpm install @mrgrain/cdk-esbuild@^3.0.0\n```\n\nIf _peer_ and _optional dependencies_ are not installed automatically (e.g. when using npm v4-6), please use this command to install all of them:\n\n```\nnpm install @mrgrain/cdk-esbuild@^3.0.0 esbuild\n```\n\n### AWS Lambda: Serverless function\n\n> ๐ก See [Lambda Function](examples/lambda) for a complete working example of a how to deploy a lambda function.\n\nUse `TypeScriptCode` as the `code` of a [lambda function](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Function.html#code):\n\n```ts\nimport * as lambda from \"@aws-cdk/aws-lambda\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\");\n\nconst fn = new lambda.Function(stack, \"MyFunction\", {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: \"index.handler\",\n code: bundledCode,\n});\n```\n\n### AWS S3: Static Website\n\n> ๐ก See [Static Website with React](examples/website) for a complete working example of a how to deploy a React app to S3.\n\nUse `TypeScriptSource` as one of the `sources` of a [static website deployment](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html#roadmap):\n\n```ts\nimport * as s3 from \"@aws-cdk/aws-s3\";\nimport * as s3deploy from \"@aws-cdk/aws-s3-deployment\";\nimport { TypeScriptSource } from \"@mrgrain/cdk-esbuild\";\n\nconst websiteBundle = new TypeScriptSource(\"src/index.tsx\");\n\nconst websiteBucket = new s3.Bucket(stack, \"WebsiteBucket\", {\n autoDeleteObjects: true,\n publicReadAccess: true,\n removalPolicy: RemovalPolicy.DESTROY,\n websiteIndexDocument: \"index.html\",\n});\n\nnew s3deploy.BucketDeployment(stack, \"DeployWebsite\", {\n destinationBucket: websiteBucket,\n sources: [websiteBundle],\n});\n```\n\n### Amazon CloudWatch Synthetics: Canary monitoring\n\n> ๐ก See [Monitored Website](examples/website) for a complete working example of a deployed and monitored website.\n\nSynthetics runs a canary to produce traffic to an application for monitoring purposes. Use `TypeScriptCode` as the `code` of a Canary test:\n\n```ts\nimport * as synthetics from \"@aws-cdk/aws-synthetics\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\", {\n buildOptions: {\n outdir: \"nodejs/node_modules\", // This is required by Synthetics\n },\n});\n\nconst canary = new synthetics.Canary(stack, \"MyCanary\", {\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_2,\n test: synthetics.Test.custom({\n code: bundledCode,\n handler: \"index.handler\",\n });\n});\n```\n\n# Documentation\n\nThe package exports various different constructs for use with existing CDK features. A major guiding design principal for this package is to _extend, don't replace_. Expect constructs that you can provide as props, not complete replacements.\n\nFor use in **Lambda Functions** and **Synthetic Canaries**, the following classes implement `lambda.Code` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.Code.html)) and `synthetics.Code` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-synthetics.Code.html)):\n\n- `TypeScriptCode` & `JavaScriptCode`\n\nInline code is only supported by **Lambda**:\n\n- `InlineTypeScriptCode` & `InlineJavaScriptCode`\n- `InlineTsxCode` & `InlineJsxCode`\n\nFor use with **S3 bucket deployments**, classes implementing `s3deploy.ISource` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html)):\n\n- ๐งบ `TypeScriptSource` & `JavaScriptSource`\n\n> _Code and Source constructs seamlessly plugin to high-level CDK features. They share the same set of parameters, props and build options._\n\nUnderlying classes power the other features. You normally won't have to use them, but they are there if you need them:\n\n- `TypeScriptAsset` & `JavaScriptAsset` implements `s3.Asset` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3-assets.Asset.html)) \\\n creates an asset uploaded to S3 which can be referenced by other constructs\n\n- `EsbuildBundler` implements `core.BundlingOptions` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_core.BundlingOptions.html)) \\\n provides an interface for a _esbuild_ bundler wherever needed\n\n## [API Reference](API.md)\n\nAuto-generated reference for classes and structs. This information is also available within the code completion of your IDE.\n\n## Escape hatches\n\nIt's possible that you want to use a implementation of esbuild that's different to the default one. Common reasons are:\n\n- The current version constraints for esbuild are not suitable\n- To use version of esbuild that is installed by any other means than `npm`, including Docker\n- Plugin support is needed for the building\n\nFor these situations, this package offers an escape hatch to bypass regular the implementation and provide a custom build and transform function.\n\n### Custom build function\n\n> ๐ก See [Using esbuild with plugins](examples/esbuild-with-plugins) for a complete working example of a custom build function using this escape hatch.\n\nConstructs that result in starting a build, take a `buildFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `buildSync` function.\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n buildFn: (options: BuildOptions): BuildResult => {\n try {\n // custom implementation returning BuildResult\n } catch (error) {\n // throw BuildFailure exception here\n }\n },\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated build options. The custom build function can amend, change or discard any of these. However integration with CDK relies heavily on the values `outdir`/`outfile` are set to and it's usually required to use them unchanged.\n\nFailures have to cause a `BuildFailure` exception in order to be fully handled.\n\n### Custom transform function\n\nConstructs that result in starting a transformation, take a `transformFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `transformSync` function.\n\n```ts\nnew InlineTypeScriptCode(\"let x: number = 1\", {\n transformFn: (options: TransformOptions): TransformResult => {\n try {\n // custom implementation returning TransformResult\n } catch (error) {\n // throw TransformFailure exception here\n }\n },,\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated transform options. The custom transform function can amend, change or discard any of these.\n\nFailures have to cause a `TransformFailure` exception in order to be fully handled.\n\n## Migrating to v3\n\nThe release of cdk-esbuild v3 brings compatibility with AWS CDK v2. Furthermore all deprecated properties and classes have been removed. In particular `InlineCode` classes now take `TransformerProps` as second parameter instead of transform options.\n\n### Upgrading\n\n- This version requires AWS CDK v2. Follow the [official migration guide](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-v2.html) to upgrade.\n- Update the package dependency to v3: `npm install --save @mrgrain/cdk-esbuild@^3.0.0`\n- `esbuild` is installed as an optional dependency. If your setup does not automatically install optional dependencies, make sure to add it as an explicit dependency.\n- Any use of `InlineCode` variations has to be updated. Previously the second parameter was either of type `TransformerProps` or `TransformOptions`. Now it must be `TransformerProps`.\\\n If the passed value is of type `TransformOptions`, turn it into the correct type like this:\n\n ```ts\n const oldOptions: TransformOptions = {...}\n\n new InlineTypeScriptCode('// inline code', {\n transformOptions: oldOptions\n });\n ```\n\n## Versioning\n\nThis package _mostly_ follows [Semantic Versioning](https://semver.org/), with the exception of upgrades to `esbuild`. These will be released as **minor versions** and often include breaking changes from `esbuild`.\n\n### Npm Tags\n\nSome users prefer to use tags over version ranges. The following stable tags are available for use:\n\n- `cdk-v1`, `cdk-v2` are provided for the latest release compatible with each version of the AWS CDK.\n\n- `latest` is the most recent stable release.\n\nThese tags also exist, but usage is strongly not recommended:\n\n- `unstable`, `next` are used for pre-release of the current and next major version respectively.\n\n- ~~`cdk-1.x.x`~~ tags have been deprecated in favour of `cdk-v1`. Use that one instead.\n\n## Future releases\n\n### Stable esbuild\n\nOnce `esbuild` has reached a stable version 1.0, a new major version will be released for _all_ breaking changes, including updates to minimum (peer) dependencies.\n\n## Library authors\n\nWhen developing a library consumed by other packages, you'll most likely have to set `buildOptions.absWorkingDir`. The easiest way to do this, is to resolve based on the directory name of the file, and traverse the tree upwards to the root of your library package (that's where `package.json` and `tsconfig.json` are):\n\n```ts\n// file: project/src/index.ts\nconst props = {\n buildOptions: {\n absWorkingDir: path.resolve(__dirname, \"..\"), // now: /user/project\n },\n};\n```\n\nThis will dynamically resolve to the correct path, wherever the package is installed.\n"
|
|
2803
|
+
"markdown": "# cdk-esbuild\n\n_CDK constructs for [esbuild](https://github.com/evanw/esbuild), an extremely fast JavaScript bundler_\n\n> โ ๏ธ This version is compatible with AWS CDK v2. For the previous, AWS CDK v1 compatible release, see [cdk-esbuild@v2](https://github.com/mrgrain/cdk-esbuild/tree/v2)\n\n[Getting started](#getting-started) | [Migrating to v3](#migrating-to-v3) |\n[Documentation](#documentation) | [API Reference](#api-reference) | [Versioning](#versioning)\n\n## Why?\n\n_esbuild_ is an extremely fast bundler and minifier for Typescript and JavaScript.\nThis package makes _esbuild_ available to deploy lambda functions, static websites or to publish build artefacts (assets) for further use.\n\nAWS CDK [supports _esbuild_ with Lambda Functions](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-nodejs-readme.html). However the implementation cannot be used with any other Constructs and doesn't expose all of _esbuild_'s build interface.\n\nThis package is running _esbuild_ directly in Node.js and bypasses Docker which the AWS CDK implementation uses. The approach is quicker and easier to use for Node.js users, but incompatible with other languages.\n\n**Production readiness**\n\nThis package is generally stable and ready to be used in production, as many do. However _esbuild_ not yet released a version 1.0.0 yet and its API is still in active development. Please check their guide on [production readiness](https://esbuild.github.io/faq/#production-readiness).\n\nNotably upgrades of the _esbuild_ minimum version requirement will be introduced in **minor versions** of this package and will inherit breaking changes from _esbuild_.\n\n## Getting started\n\nInstall `cdk-esbuild`:\n\n```\nnpm install @mrgrain/cdk-esbuild@3\n```\n\nIf _peer_ and _optional dependencies_ are not installed automatically (e.g. when using npm v4-6), please use this command to install all of them:\n\n```\nnpm install @mrgrain/cdk-esbuild@3 esbuild\n```\n\n### AWS Lambda: Serverless function\n\n> ๐ก See [Lambda Function](examples/lambda) for a complete working example of a how to deploy a lambda function.\n\nUse `TypeScriptCode` as the `code` of a [lambda function](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html#code):\n\n```ts\nimport * as lambda from \"aws-cdk-lib/aws-lambda\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\");\n\nconst fn = new lambda.Function(stack, \"MyFunction\", {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: \"index.handler\",\n code: bundledCode,\n});\n```\n\n### AWS S3: Static Website\n\n> ๐ก See [Static Website with React](examples/website) for a complete working example of a how to deploy a React app to S3.\n\nUse `TypeScriptSource` as one of the `sources` of a [static website deployment](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html#roadmap):\n\n```ts\nimport * as s3 from \"aws-cdk-lib/aws-s3\";\nimport * as s3deploy from \"aws-cdk-lib/aws-s3-deployment\";\nimport { TypeScriptSource } from \"@mrgrain/cdk-esbuild\";\n\nconst websiteBundle = new TypeScriptSource(\"src/index.tsx\");\n\nconst websiteBucket = new s3.Bucket(stack, \"WebsiteBucket\", {\n autoDeleteObjects: true,\n publicReadAccess: true,\n removalPolicy: RemovalPolicy.DESTROY,\n websiteIndexDocument: \"index.html\",\n});\n\nnew s3deploy.BucketDeployment(stack, \"DeployWebsite\", {\n destinationBucket: websiteBucket,\n sources: [websiteBundle],\n});\n```\n\n### Amazon CloudWatch Synthetics: Canary monitoring\n\n> ๐ก See [Monitored Website](examples/website) for a complete working example of a deployed and monitored website.\n\nSynthetics runs a canary to produce traffic to an application for monitoring purposes. Use `TypeScriptCode` as the `code` of a Canary test:\n\n> โน๏ธ This feature depends on the `@aws-cdk/aws-synthetics-alpha` package which is a developer preview. You may need to update your source code when upgrading to a newer version of this package.\n>\n> ```\n> npm i @aws-cdk/aws-synthetics-alpha\n> ```\n\n```ts\nimport * as synthetics from \"@aws-cdk/aws-synthetics-alpha\";\nimport { TypeScriptCode } from \"@mrgrain/cdk-esbuild\";\n\nconst bundledCode = new TypeScriptCode(\"src/index.ts\", {\n buildOptions: {\n outdir: \"nodejs/node_modules\", // This is required by Synthetics\n },\n});\n\nconst canary = new synthetics.Canary(stack, \"MyCanary\", {\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_2,\n test: synthetics.Test.custom({\n code: bundledCode,\n handler: \"index.handler\",\n });\n});\n```\n\n# Documentation\n\nThe package exports various different constructs for use with existing CDK features. A major guiding design principal for this package is to _extend, don't replace_. Expect constructs that you can provide as props, not complete replacements.\n\nFor use in **Lambda Functions** and **Synthetic Canaries**, the following classes implement `lambda.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Code.html)) and `synthetics.Code` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-synthetics-alpha.Code.html)):\n\n- `TypeScriptCode` & `JavaScriptCode`\n\nInline code is only supported by **Lambda**:\n\n- `InlineTypeScriptCode` & `InlineJavaScriptCode`\n- `InlineTsxCode` & `InlineJsxCode`\n\nFor use with **S3 bucket deployments**, classes implementing `s3deploy.ISource` ([reference](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html)):\n\n- `TypeScriptSource` & `JavaScriptSource`\n\n> _Code and Source constructs seamlessly plugin to high-level CDK features. They share the same set of parameters, props and build options._\n\nUnderlying classes power the other features. You normally won't have to use them, but they are there if you need them:\n\n- `TypeScriptAsset` & `JavaScriptAsset` implements `s3.Asset` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)) \\\n creates an asset uploaded to S3 which can be referenced by other constructs\n\n- `EsbuildBundler` implements `core.BundlingOptions` ([reference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.BundlingOptions.html)) \\\n provides an interface for a _esbuild_ bundler wherever needed\n\n## [API Reference](API.md)\n\nAuto-generated reference for classes and structs. This information is also available within the code completion of your IDE.\n\n## Escape hatches\n\nIt's possible that you want to use a implementation of esbuild that's different to the default one. Common reasons are:\n\n- The current version constraints for esbuild are not suitable\n- To use version of esbuild that is installed by any other means than `npm`, including Docker\n- Plugin support is needed for the building\n\nFor these situations, this package offers an escape hatch to bypass regular the implementation and provide a custom build and transform function.\n\n### Custom build function\n\n> ๐ก See [Using esbuild with plugins](examples/esbuild-with-plugins) for a complete working example of a custom build function using this escape hatch.\n\nConstructs that result in starting a build, take a `buildFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `buildSync` function.\n\n```ts\nnew TypeScriptCode(\"fixtures/handlers/ts-handler.ts\", {\n buildFn: (options: BuildOptions): BuildResult => {\n try {\n // custom implementation returning BuildResult\n } catch (error) {\n // throw BuildFailure exception here\n }\n },\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated build options. The custom build function can amend, change or discard any of these. However integration with CDK relies heavily on the values `outdir`/`outfile` are set to and it's usually required to use them unchanged.\n\nFailures have to cause a `BuildFailure` exception in order to be fully handled.\n\n### Custom transform function\n\nConstructs that result in starting a transformation, take a `transformFn` as optional prop. While the defined type for this function is `any`, it must implement the same signature as esbuild's `transformSync` function.\n\n```ts\nnew InlineTypeScriptCode(\"let x: number = 1\", {\n transformFn: (options: TransformOptions): TransformResult => {\n try {\n // custom implementation returning TransformResult\n } catch (error) {\n // throw TransformFailure exception here\n }\n },,\n});\n```\n\nInstead of esbuild, the provided function will be invoked with the calculated transform options. The custom transform function can amend, change or discard any of these.\n\nFailures have to cause a `TransformFailure` exception in order to be fully handled.\n\n## Migrating to v3\n\nThe release of cdk-esbuild v3 brings compatibility with AWS CDK v2. Furthermore all deprecated properties and classes have been removed. In particular `InlineCode` classes now take `TransformerProps` as second parameter instead of transform options.\n\n### Upgrading\n\n- This version requires AWS CDK v2. Follow the [official migration guide](https://docs.aws.amazon.com/cdk/latest/guide/work-with-cdk-v2.html) to upgrade.\n- Update the package dependency to v3: `npm install --save @mrgrain/cdk-esbuild@^3.0.0`\n- `esbuild` is installed as an optional dependency. If your setup does not automatically install optional dependencies, make sure to add it as an explicit dependency.\n- Any use of `InlineCode` variations has to be updated. Previously the second parameter was either of type `TransformerProps` or `TransformOptions`. Now it must be `TransformerProps`.\\\n If the passed value is of type `TransformOptions`, turn it into the correct type like this:\n\n ```ts\n const oldOptions: TransformOptions = {...}\n\n new InlineTypeScriptCode('// inline code', {\n transformOptions: oldOptions\n });\n ```\n\n## Versioning\n\nThis package _mostly_ follows [Semantic Versioning](https://semver.org/), with the exception of upgrades to `esbuild`. These will be released as **minor versions** and often include breaking changes from `esbuild`.\n\n### Npm Tags\n\nSome users prefer to use tags over version ranges. The following stable tags are available for use:\n\n- `cdk-v1`, `cdk-v2` are provided for the latest release compatible with each version of the AWS CDK.\n\n- `latest` is the most recent stable release.\n\nThese tags also exist, but usage is strongly not recommended:\n\n- `unstable`, `next` are used for pre-release of the current and next major version respectively.\n\n- ~~`cdk-1.x.x`~~ tags have been deprecated in favour of `cdk-v1`. Use that one instead.\n\n## Future releases\n\n### Stable esbuild\n\nOnce `esbuild` has reached a stable version 1.0, a new major version will be released for _all_ breaking changes, including updates to minimum (peer) dependencies.\n\n## Library authors\n\nWhen developing a library consumed by other packages, you'll most likely have to set `buildOptions.absWorkingDir`. The easiest way to do this, is to resolve based on the directory name of the file, and traverse the tree upwards to the root of your library package (that's where `package.json` and `tsconfig.json` are):\n\n```ts\n// file: project/src/index.ts\nconst props = {\n buildOptions: {\n absWorkingDir: path.resolve(__dirname, \"..\"), // now: /user/project\n },\n};\n```\n\nThis will dynamically resolve to the correct path, wherever the package is installed.\n"
|
|
2803
2804
|
},
|
|
2804
2805
|
"repository": {
|
|
2805
2806
|
"type": "git",
|
|
@@ -2899,7 +2900,7 @@
|
|
|
2899
2900
|
"kind": "interface",
|
|
2900
2901
|
"locationInModule": {
|
|
2901
2902
|
"filename": "src/esbuild-types.ts",
|
|
2902
|
-
"line":
|
|
2903
|
+
"line": 72
|
|
2903
2904
|
},
|
|
2904
2905
|
"name": "BuildOptions",
|
|
2905
2906
|
"properties": [
|
|
@@ -2912,7 +2913,7 @@
|
|
|
2912
2913
|
"immutable": true,
|
|
2913
2914
|
"locationInModule": {
|
|
2914
2915
|
"filename": "src/esbuild-types.ts",
|
|
2915
|
-
"line":
|
|
2916
|
+
"line": 124
|
|
2916
2917
|
},
|
|
2917
2918
|
"name": "absWorkingDir",
|
|
2918
2919
|
"optional": true,
|
|
@@ -2929,7 +2930,7 @@
|
|
|
2929
2930
|
"immutable": true,
|
|
2930
2931
|
"locationInModule": {
|
|
2931
2932
|
"filename": "src/esbuild-types.ts",
|
|
2932
|
-
"line":
|
|
2933
|
+
"line": 102
|
|
2933
2934
|
},
|
|
2934
2935
|
"name": "allowOverwrite",
|
|
2935
2936
|
"optional": true,
|
|
@@ -2946,7 +2947,7 @@
|
|
|
2946
2947
|
"immutable": true,
|
|
2947
2948
|
"locationInModule": {
|
|
2948
2949
|
"filename": "src/esbuild-types.ts",
|
|
2949
|
-
"line":
|
|
2950
|
+
"line": 114
|
|
2950
2951
|
},
|
|
2951
2952
|
"name": "assetNames",
|
|
2952
2953
|
"optional": true,
|
|
@@ -2963,7 +2964,7 @@
|
|
|
2963
2964
|
"immutable": true,
|
|
2964
2965
|
"locationInModule": {
|
|
2965
2966
|
"filename": "src/esbuild-types.ts",
|
|
2966
|
-
"line":
|
|
2967
|
+
"line": 118
|
|
2967
2968
|
},
|
|
2968
2969
|
"name": "banner",
|
|
2969
2970
|
"optional": true,
|
|
@@ -2985,7 +2986,7 @@
|
|
|
2985
2986
|
"immutable": true,
|
|
2986
2987
|
"locationInModule": {
|
|
2987
2988
|
"filename": "src/esbuild-types.ts",
|
|
2988
|
-
"line":
|
|
2989
|
+
"line": 74
|
|
2989
2990
|
},
|
|
2990
2991
|
"name": "bundle",
|
|
2991
2992
|
"optional": true,
|
|
@@ -3002,7 +3003,7 @@
|
|
|
3002
3003
|
"immutable": true,
|
|
3003
3004
|
"locationInModule": {
|
|
3004
3005
|
"filename": "src/esbuild-types.ts",
|
|
3005
|
-
"line":
|
|
3006
|
+
"line": 44
|
|
3006
3007
|
},
|
|
3007
3008
|
"name": "charset",
|
|
3008
3009
|
"optional": true,
|
|
@@ -3019,7 +3020,7 @@
|
|
|
3019
3020
|
"immutable": true,
|
|
3020
3021
|
"locationInModule": {
|
|
3021
3022
|
"filename": "src/esbuild-types.ts",
|
|
3022
|
-
"line":
|
|
3023
|
+
"line": 112
|
|
3023
3024
|
},
|
|
3024
3025
|
"name": "chunkNames",
|
|
3025
3026
|
"optional": true,
|
|
@@ -3036,7 +3037,7 @@
|
|
|
3036
3037
|
"immutable": true,
|
|
3037
3038
|
"locationInModule": {
|
|
3038
3039
|
"filename": "src/esbuild-types.ts",
|
|
3039
|
-
"line":
|
|
3040
|
+
"line": 65
|
|
3040
3041
|
},
|
|
3041
3042
|
"name": "color",
|
|
3042
3043
|
"optional": true,
|
|
@@ -3053,7 +3054,7 @@
|
|
|
3053
3054
|
"immutable": true,
|
|
3054
3055
|
"locationInModule": {
|
|
3055
3056
|
"filename": "src/esbuild-types.ts",
|
|
3056
|
-
"line":
|
|
3057
|
+
"line": 98
|
|
3057
3058
|
},
|
|
3058
3059
|
"name": "conditions",
|
|
3059
3060
|
"optional": true,
|
|
@@ -3075,7 +3076,7 @@
|
|
|
3075
3076
|
"immutable": true,
|
|
3076
3077
|
"locationInModule": {
|
|
3077
3078
|
"filename": "src/esbuild-types.ts",
|
|
3078
|
-
"line":
|
|
3079
|
+
"line": 58
|
|
3079
3080
|
},
|
|
3080
3081
|
"name": "define",
|
|
3081
3082
|
"optional": true,
|
|
@@ -3088,6 +3089,28 @@
|
|
|
3088
3089
|
}
|
|
3089
3090
|
}
|
|
3090
3091
|
},
|
|
3092
|
+
{
|
|
3093
|
+
"abstract": true,
|
|
3094
|
+
"docs": {
|
|
3095
|
+
"stability": "stable",
|
|
3096
|
+
"summary": "Documentation: https://esbuild.github.io/api/#drop."
|
|
3097
|
+
},
|
|
3098
|
+
"immutable": true,
|
|
3099
|
+
"locationInModule": {
|
|
3100
|
+
"filename": "src/esbuild-types.ts",
|
|
3101
|
+
"line": 34
|
|
3102
|
+
},
|
|
3103
|
+
"name": "drop",
|
|
3104
|
+
"optional": true,
|
|
3105
|
+
"type": {
|
|
3106
|
+
"collection": {
|
|
3107
|
+
"elementtype": {
|
|
3108
|
+
"primitive": "string"
|
|
3109
|
+
},
|
|
3110
|
+
"kind": "array"
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
},
|
|
3091
3114
|
{
|
|
3092
3115
|
"abstract": true,
|
|
3093
3116
|
"docs": {
|
|
@@ -3097,7 +3120,7 @@
|
|
|
3097
3120
|
"immutable": true,
|
|
3098
3121
|
"locationInModule": {
|
|
3099
3122
|
"filename": "src/esbuild-types.ts",
|
|
3100
|
-
"line":
|
|
3123
|
+
"line": 110
|
|
3101
3124
|
},
|
|
3102
3125
|
"name": "entryNames",
|
|
3103
3126
|
"optional": true,
|
|
@@ -3114,7 +3137,7 @@
|
|
|
3114
3137
|
"immutable": true,
|
|
3115
3138
|
"locationInModule": {
|
|
3116
3139
|
"filename": "src/esbuild-types.ts",
|
|
3117
|
-
"line":
|
|
3140
|
+
"line": 90
|
|
3118
3141
|
},
|
|
3119
3142
|
"name": "external",
|
|
3120
3143
|
"optional": true,
|
|
@@ -3136,7 +3159,7 @@
|
|
|
3136
3159
|
"immutable": true,
|
|
3137
3160
|
"locationInModule": {
|
|
3138
3161
|
"filename": "src/esbuild-types.ts",
|
|
3139
|
-
"line":
|
|
3162
|
+
"line": 120
|
|
3140
3163
|
},
|
|
3141
3164
|
"name": "footer",
|
|
3142
3165
|
"optional": true,
|
|
@@ -3158,7 +3181,7 @@
|
|
|
3158
3181
|
"immutable": true,
|
|
3159
3182
|
"locationInModule": {
|
|
3160
3183
|
"filename": "src/esbuild-types.ts",
|
|
3161
|
-
"line":
|
|
3184
|
+
"line": 21
|
|
3162
3185
|
},
|
|
3163
3186
|
"name": "format",
|
|
3164
3187
|
"optional": true,
|
|
@@ -3175,7 +3198,7 @@
|
|
|
3175
3198
|
"immutable": true,
|
|
3176
3199
|
"locationInModule": {
|
|
3177
3200
|
"filename": "src/esbuild-types.ts",
|
|
3178
|
-
"line":
|
|
3201
|
+
"line": 23
|
|
3179
3202
|
},
|
|
3180
3203
|
"name": "globalName",
|
|
3181
3204
|
"optional": true,
|
|
@@ -3192,7 +3215,7 @@
|
|
|
3192
3215
|
"immutable": true,
|
|
3193
3216
|
"locationInModule": {
|
|
3194
3217
|
"filename": "src/esbuild-types.ts",
|
|
3195
|
-
"line":
|
|
3218
|
+
"line": 48
|
|
3196
3219
|
},
|
|
3197
3220
|
"name": "ignoreAnnotations",
|
|
3198
3221
|
"optional": true,
|
|
@@ -3209,7 +3232,7 @@
|
|
|
3209
3232
|
"immutable": true,
|
|
3210
3233
|
"locationInModule": {
|
|
3211
3234
|
"filename": "src/esbuild-types.ts",
|
|
3212
|
-
"line":
|
|
3235
|
+
"line": 122
|
|
3213
3236
|
},
|
|
3214
3237
|
"name": "incremental",
|
|
3215
3238
|
"optional": true,
|
|
@@ -3226,7 +3249,7 @@
|
|
|
3226
3249
|
"immutable": true,
|
|
3227
3250
|
"locationInModule": {
|
|
3228
3251
|
"filename": "src/esbuild-types.ts",
|
|
3229
|
-
"line":
|
|
3252
|
+
"line": 116
|
|
3230
3253
|
},
|
|
3231
3254
|
"name": "inject",
|
|
3232
3255
|
"optional": true,
|
|
@@ -3248,7 +3271,7 @@
|
|
|
3248
3271
|
"immutable": true,
|
|
3249
3272
|
"locationInModule": {
|
|
3250
3273
|
"filename": "src/esbuild-types.ts",
|
|
3251
|
-
"line":
|
|
3274
|
+
"line": 51
|
|
3252
3275
|
},
|
|
3253
3276
|
"name": "jsx",
|
|
3254
3277
|
"optional": true,
|
|
@@ -3265,7 +3288,7 @@
|
|
|
3265
3288
|
"immutable": true,
|
|
3266
3289
|
"locationInModule": {
|
|
3267
3290
|
"filename": "src/esbuild-types.ts",
|
|
3268
|
-
"line":
|
|
3291
|
+
"line": 53
|
|
3269
3292
|
},
|
|
3270
3293
|
"name": "jsxFactory",
|
|
3271
3294
|
"optional": true,
|
|
@@ -3282,7 +3305,7 @@
|
|
|
3282
3305
|
"immutable": true,
|
|
3283
3306
|
"locationInModule": {
|
|
3284
3307
|
"filename": "src/esbuild-types.ts",
|
|
3285
|
-
"line":
|
|
3308
|
+
"line": 55
|
|
3286
3309
|
},
|
|
3287
3310
|
"name": "jsxFragment",
|
|
3288
3311
|
"optional": true,
|
|
@@ -3299,7 +3322,7 @@
|
|
|
3299
3322
|
"immutable": true,
|
|
3300
3323
|
"locationInModule": {
|
|
3301
3324
|
"filename": "src/esbuild-types.ts",
|
|
3302
|
-
"line":
|
|
3325
|
+
"line": 62
|
|
3303
3326
|
},
|
|
3304
3327
|
"name": "keepNames",
|
|
3305
3328
|
"optional": true,
|
|
@@ -3316,7 +3339,7 @@
|
|
|
3316
3339
|
"immutable": true,
|
|
3317
3340
|
"locationInModule": {
|
|
3318
3341
|
"filename": "src/esbuild-types.ts",
|
|
3319
|
-
"line":
|
|
3342
|
+
"line": 14
|
|
3320
3343
|
},
|
|
3321
3344
|
"name": "legalComments",
|
|
3322
3345
|
"optional": true,
|
|
@@ -3333,7 +3356,7 @@
|
|
|
3333
3356
|
"immutable": true,
|
|
3334
3357
|
"locationInModule": {
|
|
3335
3358
|
"filename": "src/esbuild-types.ts",
|
|
3336
|
-
"line":
|
|
3359
|
+
"line": 92
|
|
3337
3360
|
},
|
|
3338
3361
|
"name": "loader",
|
|
3339
3362
|
"optional": true,
|
|
@@ -3355,7 +3378,7 @@
|
|
|
3355
3378
|
"immutable": true,
|
|
3356
3379
|
"locationInModule": {
|
|
3357
3380
|
"filename": "src/esbuild-types.ts",
|
|
3358
|
-
"line":
|
|
3381
|
+
"line": 67
|
|
3359
3382
|
},
|
|
3360
3383
|
"name": "logLevel",
|
|
3361
3384
|
"optional": true,
|
|
@@ -3372,7 +3395,7 @@
|
|
|
3372
3395
|
"immutable": true,
|
|
3373
3396
|
"locationInModule": {
|
|
3374
3397
|
"filename": "src/esbuild-types.ts",
|
|
3375
|
-
"line":
|
|
3398
|
+
"line": 69
|
|
3376
3399
|
},
|
|
3377
3400
|
"name": "logLimit",
|
|
3378
3401
|
"optional": true,
|
|
@@ -3389,7 +3412,7 @@
|
|
|
3389
3412
|
"immutable": true,
|
|
3390
3413
|
"locationInModule": {
|
|
3391
3414
|
"filename": "src/esbuild-types.ts",
|
|
3392
|
-
"line":
|
|
3415
|
+
"line": 96
|
|
3393
3416
|
},
|
|
3394
3417
|
"name": "mainFields",
|
|
3395
3418
|
"optional": true,
|
|
@@ -3402,6 +3425,54 @@
|
|
|
3402
3425
|
}
|
|
3403
3426
|
}
|
|
3404
3427
|
},
|
|
3428
|
+
{
|
|
3429
|
+
"abstract": true,
|
|
3430
|
+
"docs": {
|
|
3431
|
+
"stability": "stable",
|
|
3432
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
3433
|
+
},
|
|
3434
|
+
"immutable": true,
|
|
3435
|
+
"locationInModule": {
|
|
3436
|
+
"filename": "src/esbuild-types.ts",
|
|
3437
|
+
"line": 32
|
|
3438
|
+
},
|
|
3439
|
+
"name": "mangleCache",
|
|
3440
|
+
"optional": true,
|
|
3441
|
+
"type": {
|
|
3442
|
+
"collection": {
|
|
3443
|
+
"elementtype": {
|
|
3444
|
+
"union": {
|
|
3445
|
+
"types": [
|
|
3446
|
+
{
|
|
3447
|
+
"primitive": "string"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"primitive": "boolean"
|
|
3451
|
+
}
|
|
3452
|
+
]
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
"kind": "map"
|
|
3456
|
+
}
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"abstract": true,
|
|
3461
|
+
"docs": {
|
|
3462
|
+
"stability": "stable",
|
|
3463
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
3464
|
+
},
|
|
3465
|
+
"immutable": true,
|
|
3466
|
+
"locationInModule": {
|
|
3467
|
+
"filename": "src/esbuild-types.ts",
|
|
3468
|
+
"line": 28
|
|
3469
|
+
},
|
|
3470
|
+
"name": "mangleProps",
|
|
3471
|
+
"optional": true,
|
|
3472
|
+
"type": {
|
|
3473
|
+
"primitive": "any"
|
|
3474
|
+
}
|
|
3475
|
+
},
|
|
3405
3476
|
{
|
|
3406
3477
|
"abstract": true,
|
|
3407
3478
|
"docs": {
|
|
@@ -3411,7 +3482,7 @@
|
|
|
3411
3482
|
"immutable": true,
|
|
3412
3483
|
"locationInModule": {
|
|
3413
3484
|
"filename": "src/esbuild-types.ts",
|
|
3414
|
-
"line":
|
|
3485
|
+
"line": 82
|
|
3415
3486
|
},
|
|
3416
3487
|
"name": "metafile",
|
|
3417
3488
|
"optional": true,
|
|
@@ -3428,7 +3499,7 @@
|
|
|
3428
3499
|
"immutable": true,
|
|
3429
3500
|
"locationInModule": {
|
|
3430
3501
|
"filename": "src/esbuild-types.ts",
|
|
3431
|
-
"line":
|
|
3502
|
+
"line": 36
|
|
3432
3503
|
},
|
|
3433
3504
|
"name": "minify",
|
|
3434
3505
|
"optional": true,
|
|
@@ -3445,7 +3516,7 @@
|
|
|
3445
3516
|
"immutable": true,
|
|
3446
3517
|
"locationInModule": {
|
|
3447
3518
|
"filename": "src/esbuild-types.ts",
|
|
3448
|
-
"line":
|
|
3519
|
+
"line": 40
|
|
3449
3520
|
},
|
|
3450
3521
|
"name": "minifyIdentifiers",
|
|
3451
3522
|
"optional": true,
|
|
@@ -3462,7 +3533,7 @@
|
|
|
3462
3533
|
"immutable": true,
|
|
3463
3534
|
"locationInModule": {
|
|
3464
3535
|
"filename": "src/esbuild-types.ts",
|
|
3465
|
-
"line":
|
|
3536
|
+
"line": 42
|
|
3466
3537
|
},
|
|
3467
3538
|
"name": "minifySyntax",
|
|
3468
3539
|
"optional": true,
|
|
@@ -3479,7 +3550,7 @@
|
|
|
3479
3550
|
"immutable": true,
|
|
3480
3551
|
"locationInModule": {
|
|
3481
3552
|
"filename": "src/esbuild-types.ts",
|
|
3482
|
-
"line":
|
|
3553
|
+
"line": 38
|
|
3483
3554
|
},
|
|
3484
3555
|
"name": "minifyWhitespace",
|
|
3485
3556
|
"optional": true,
|
|
@@ -3496,7 +3567,7 @@
|
|
|
3496
3567
|
"immutable": true,
|
|
3497
3568
|
"locationInModule": {
|
|
3498
3569
|
"filename": "src/esbuild-types.ts",
|
|
3499
|
-
"line":
|
|
3570
|
+
"line": 126
|
|
3500
3571
|
},
|
|
3501
3572
|
"name": "nodePaths",
|
|
3502
3573
|
"optional": true,
|
|
@@ -3518,7 +3589,7 @@
|
|
|
3518
3589
|
"immutable": true,
|
|
3519
3590
|
"locationInModule": {
|
|
3520
3591
|
"filename": "src/esbuild-types.ts",
|
|
3521
|
-
"line":
|
|
3592
|
+
"line": 86
|
|
3522
3593
|
},
|
|
3523
3594
|
"name": "outbase",
|
|
3524
3595
|
"optional": true,
|
|
@@ -3535,7 +3606,7 @@
|
|
|
3535
3606
|
"immutable": true,
|
|
3536
3607
|
"locationInModule": {
|
|
3537
3608
|
"filename": "src/esbuild-types.ts",
|
|
3538
|
-
"line":
|
|
3609
|
+
"line": 84
|
|
3539
3610
|
},
|
|
3540
3611
|
"name": "outdir",
|
|
3541
3612
|
"optional": true,
|
|
@@ -3552,7 +3623,7 @@
|
|
|
3552
3623
|
"immutable": true,
|
|
3553
3624
|
"locationInModule": {
|
|
3554
3625
|
"filename": "src/esbuild-types.ts",
|
|
3555
|
-
"line":
|
|
3626
|
+
"line": 106
|
|
3556
3627
|
},
|
|
3557
3628
|
"name": "outExtension",
|
|
3558
3629
|
"optional": true,
|
|
@@ -3574,7 +3645,7 @@
|
|
|
3574
3645
|
"immutable": true,
|
|
3575
3646
|
"locationInModule": {
|
|
3576
3647
|
"filename": "src/esbuild-types.ts",
|
|
3577
|
-
"line":
|
|
3648
|
+
"line": 80
|
|
3578
3649
|
},
|
|
3579
3650
|
"name": "outfile",
|
|
3580
3651
|
"optional": true,
|
|
@@ -3591,7 +3662,7 @@
|
|
|
3591
3662
|
"immutable": true,
|
|
3592
3663
|
"locationInModule": {
|
|
3593
3664
|
"filename": "src/esbuild-types.ts",
|
|
3594
|
-
"line":
|
|
3665
|
+
"line": 88
|
|
3595
3666
|
},
|
|
3596
3667
|
"name": "platform",
|
|
3597
3668
|
"optional": true,
|
|
@@ -3608,7 +3679,7 @@
|
|
|
3608
3679
|
"immutable": true,
|
|
3609
3680
|
"locationInModule": {
|
|
3610
3681
|
"filename": "src/esbuild-types.ts",
|
|
3611
|
-
"line":
|
|
3682
|
+
"line": 78
|
|
3612
3683
|
},
|
|
3613
3684
|
"name": "preserveSymlinks",
|
|
3614
3685
|
"optional": true,
|
|
@@ -3625,7 +3696,7 @@
|
|
|
3625
3696
|
"immutable": true,
|
|
3626
3697
|
"locationInModule": {
|
|
3627
3698
|
"filename": "src/esbuild-types.ts",
|
|
3628
|
-
"line":
|
|
3699
|
+
"line": 108
|
|
3629
3700
|
},
|
|
3630
3701
|
"name": "publicPath",
|
|
3631
3702
|
"optional": true,
|
|
@@ -3642,7 +3713,7 @@
|
|
|
3642
3713
|
"immutable": true,
|
|
3643
3714
|
"locationInModule": {
|
|
3644
3715
|
"filename": "src/esbuild-types.ts",
|
|
3645
|
-
"line":
|
|
3716
|
+
"line": 60
|
|
3646
3717
|
},
|
|
3647
3718
|
"name": "pure",
|
|
3648
3719
|
"optional": true,
|
|
@@ -3655,6 +3726,23 @@
|
|
|
3655
3726
|
}
|
|
3656
3727
|
}
|
|
3657
3728
|
},
|
|
3729
|
+
{
|
|
3730
|
+
"abstract": true,
|
|
3731
|
+
"docs": {
|
|
3732
|
+
"stability": "stable",
|
|
3733
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
3734
|
+
},
|
|
3735
|
+
"immutable": true,
|
|
3736
|
+
"locationInModule": {
|
|
3737
|
+
"filename": "src/esbuild-types.ts",
|
|
3738
|
+
"line": 30
|
|
3739
|
+
},
|
|
3740
|
+
"name": "reserveProps",
|
|
3741
|
+
"optional": true,
|
|
3742
|
+
"type": {
|
|
3743
|
+
"primitive": "any"
|
|
3744
|
+
}
|
|
3745
|
+
},
|
|
3658
3746
|
{
|
|
3659
3747
|
"abstract": true,
|
|
3660
3748
|
"docs": {
|
|
@@ -3664,7 +3752,7 @@
|
|
|
3664
3752
|
"immutable": true,
|
|
3665
3753
|
"locationInModule": {
|
|
3666
3754
|
"filename": "src/esbuild-types.ts",
|
|
3667
|
-
"line":
|
|
3755
|
+
"line": 94
|
|
3668
3756
|
},
|
|
3669
3757
|
"name": "resolveExtensions",
|
|
3670
3758
|
"optional": true,
|
|
@@ -3686,7 +3774,7 @@
|
|
|
3686
3774
|
"immutable": true,
|
|
3687
3775
|
"locationInModule": {
|
|
3688
3776
|
"filename": "src/esbuild-types.ts",
|
|
3689
|
-
"line":
|
|
3777
|
+
"line": 12
|
|
3690
3778
|
},
|
|
3691
3779
|
"name": "sourcemap",
|
|
3692
3780
|
"optional": true,
|
|
@@ -3712,7 +3800,7 @@
|
|
|
3712
3800
|
"immutable": true,
|
|
3713
3801
|
"locationInModule": {
|
|
3714
3802
|
"filename": "src/esbuild-types.ts",
|
|
3715
|
-
"line":
|
|
3803
|
+
"line": 16
|
|
3716
3804
|
},
|
|
3717
3805
|
"name": "sourceRoot",
|
|
3718
3806
|
"optional": true,
|
|
@@ -3729,7 +3817,7 @@
|
|
|
3729
3817
|
"immutable": true,
|
|
3730
3818
|
"locationInModule": {
|
|
3731
3819
|
"filename": "src/esbuild-types.ts",
|
|
3732
|
-
"line":
|
|
3820
|
+
"line": 18
|
|
3733
3821
|
},
|
|
3734
3822
|
"name": "sourcesContent",
|
|
3735
3823
|
"optional": true,
|
|
@@ -3746,7 +3834,7 @@
|
|
|
3746
3834
|
"immutable": true,
|
|
3747
3835
|
"locationInModule": {
|
|
3748
3836
|
"filename": "src/esbuild-types.ts",
|
|
3749
|
-
"line":
|
|
3837
|
+
"line": 76
|
|
3750
3838
|
},
|
|
3751
3839
|
"name": "splitting",
|
|
3752
3840
|
"optional": true,
|
|
@@ -3763,7 +3851,7 @@
|
|
|
3763
3851
|
"immutable": true,
|
|
3764
3852
|
"locationInModule": {
|
|
3765
3853
|
"filename": "src/esbuild-types.ts",
|
|
3766
|
-
"line":
|
|
3854
|
+
"line": 25
|
|
3767
3855
|
},
|
|
3768
3856
|
"name": "target",
|
|
3769
3857
|
"optional": true,
|
|
@@ -3794,7 +3882,7 @@
|
|
|
3794
3882
|
"immutable": true,
|
|
3795
3883
|
"locationInModule": {
|
|
3796
3884
|
"filename": "src/esbuild-types.ts",
|
|
3797
|
-
"line":
|
|
3885
|
+
"line": 46
|
|
3798
3886
|
},
|
|
3799
3887
|
"name": "treeShaking",
|
|
3800
3888
|
"optional": true,
|
|
@@ -3811,7 +3899,7 @@
|
|
|
3811
3899
|
"immutable": true,
|
|
3812
3900
|
"locationInModule": {
|
|
3813
3901
|
"filename": "src/esbuild-types.ts",
|
|
3814
|
-
"line":
|
|
3902
|
+
"line": 104
|
|
3815
3903
|
},
|
|
3816
3904
|
"name": "tsconfig",
|
|
3817
3905
|
"optional": true,
|
|
@@ -3828,7 +3916,7 @@
|
|
|
3828
3916
|
"immutable": true,
|
|
3829
3917
|
"locationInModule": {
|
|
3830
3918
|
"filename": "src/esbuild-types.ts",
|
|
3831
|
-
"line":
|
|
3919
|
+
"line": 100
|
|
3832
3920
|
},
|
|
3833
3921
|
"name": "write",
|
|
3834
3922
|
"optional": true,
|
|
@@ -4813,7 +4901,7 @@
|
|
|
4813
4901
|
"kind": "interface",
|
|
4814
4902
|
"locationInModule": {
|
|
4815
4903
|
"filename": "src/esbuild-types.ts",
|
|
4816
|
-
"line":
|
|
4904
|
+
"line": 233
|
|
4817
4905
|
},
|
|
4818
4906
|
"name": "TransformOptions",
|
|
4819
4907
|
"properties": [
|
|
@@ -4825,7 +4913,7 @@
|
|
|
4825
4913
|
"immutable": true,
|
|
4826
4914
|
"locationInModule": {
|
|
4827
4915
|
"filename": "src/esbuild-types.ts",
|
|
4828
|
-
"line":
|
|
4916
|
+
"line": 238
|
|
4829
4917
|
},
|
|
4830
4918
|
"name": "banner",
|
|
4831
4919
|
"optional": true,
|
|
@@ -4842,7 +4930,7 @@
|
|
|
4842
4930
|
"immutable": true,
|
|
4843
4931
|
"locationInModule": {
|
|
4844
4932
|
"filename": "src/esbuild-types.ts",
|
|
4845
|
-
"line":
|
|
4933
|
+
"line": 44
|
|
4846
4934
|
},
|
|
4847
4935
|
"name": "charset",
|
|
4848
4936
|
"optional": true,
|
|
@@ -4859,7 +4947,7 @@
|
|
|
4859
4947
|
"immutable": true,
|
|
4860
4948
|
"locationInModule": {
|
|
4861
4949
|
"filename": "src/esbuild-types.ts",
|
|
4862
|
-
"line":
|
|
4950
|
+
"line": 65
|
|
4863
4951
|
},
|
|
4864
4952
|
"name": "color",
|
|
4865
4953
|
"optional": true,
|
|
@@ -4876,7 +4964,7 @@
|
|
|
4876
4964
|
"immutable": true,
|
|
4877
4965
|
"locationInModule": {
|
|
4878
4966
|
"filename": "src/esbuild-types.ts",
|
|
4879
|
-
"line":
|
|
4967
|
+
"line": 58
|
|
4880
4968
|
},
|
|
4881
4969
|
"name": "define",
|
|
4882
4970
|
"optional": true,
|
|
@@ -4889,6 +4977,28 @@
|
|
|
4889
4977
|
}
|
|
4890
4978
|
}
|
|
4891
4979
|
},
|
|
4980
|
+
{
|
|
4981
|
+
"abstract": true,
|
|
4982
|
+
"docs": {
|
|
4983
|
+
"stability": "stable",
|
|
4984
|
+
"summary": "Documentation: https://esbuild.github.io/api/#drop."
|
|
4985
|
+
},
|
|
4986
|
+
"immutable": true,
|
|
4987
|
+
"locationInModule": {
|
|
4988
|
+
"filename": "src/esbuild-types.ts",
|
|
4989
|
+
"line": 34
|
|
4990
|
+
},
|
|
4991
|
+
"name": "drop",
|
|
4992
|
+
"optional": true,
|
|
4993
|
+
"type": {
|
|
4994
|
+
"collection": {
|
|
4995
|
+
"elementtype": {
|
|
4996
|
+
"primitive": "string"
|
|
4997
|
+
},
|
|
4998
|
+
"kind": "array"
|
|
4999
|
+
}
|
|
5000
|
+
}
|
|
5001
|
+
},
|
|
4892
5002
|
{
|
|
4893
5003
|
"abstract": true,
|
|
4894
5004
|
"docs": {
|
|
@@ -4897,7 +5007,7 @@
|
|
|
4897
5007
|
"immutable": true,
|
|
4898
5008
|
"locationInModule": {
|
|
4899
5009
|
"filename": "src/esbuild-types.ts",
|
|
4900
|
-
"line":
|
|
5010
|
+
"line": 239
|
|
4901
5011
|
},
|
|
4902
5012
|
"name": "footer",
|
|
4903
5013
|
"optional": true,
|
|
@@ -4914,7 +5024,7 @@
|
|
|
4914
5024
|
"immutable": true,
|
|
4915
5025
|
"locationInModule": {
|
|
4916
5026
|
"filename": "src/esbuild-types.ts",
|
|
4917
|
-
"line":
|
|
5027
|
+
"line": 21
|
|
4918
5028
|
},
|
|
4919
5029
|
"name": "format",
|
|
4920
5030
|
"optional": true,
|
|
@@ -4931,7 +5041,7 @@
|
|
|
4931
5041
|
"immutable": true,
|
|
4932
5042
|
"locationInModule": {
|
|
4933
5043
|
"filename": "src/esbuild-types.ts",
|
|
4934
|
-
"line":
|
|
5044
|
+
"line": 23
|
|
4935
5045
|
},
|
|
4936
5046
|
"name": "globalName",
|
|
4937
5047
|
"optional": true,
|
|
@@ -4948,7 +5058,7 @@
|
|
|
4948
5058
|
"immutable": true,
|
|
4949
5059
|
"locationInModule": {
|
|
4950
5060
|
"filename": "src/esbuild-types.ts",
|
|
4951
|
-
"line":
|
|
5061
|
+
"line": 48
|
|
4952
5062
|
},
|
|
4953
5063
|
"name": "ignoreAnnotations",
|
|
4954
5064
|
"optional": true,
|
|
@@ -4965,7 +5075,7 @@
|
|
|
4965
5075
|
"immutable": true,
|
|
4966
5076
|
"locationInModule": {
|
|
4967
5077
|
"filename": "src/esbuild-types.ts",
|
|
4968
|
-
"line":
|
|
5078
|
+
"line": 51
|
|
4969
5079
|
},
|
|
4970
5080
|
"name": "jsx",
|
|
4971
5081
|
"optional": true,
|
|
@@ -4982,7 +5092,7 @@
|
|
|
4982
5092
|
"immutable": true,
|
|
4983
5093
|
"locationInModule": {
|
|
4984
5094
|
"filename": "src/esbuild-types.ts",
|
|
4985
|
-
"line":
|
|
5095
|
+
"line": 53
|
|
4986
5096
|
},
|
|
4987
5097
|
"name": "jsxFactory",
|
|
4988
5098
|
"optional": true,
|
|
@@ -4999,7 +5109,7 @@
|
|
|
4999
5109
|
"immutable": true,
|
|
5000
5110
|
"locationInModule": {
|
|
5001
5111
|
"filename": "src/esbuild-types.ts",
|
|
5002
|
-
"line":
|
|
5112
|
+
"line": 55
|
|
5003
5113
|
},
|
|
5004
5114
|
"name": "jsxFragment",
|
|
5005
5115
|
"optional": true,
|
|
@@ -5016,7 +5126,7 @@
|
|
|
5016
5126
|
"immutable": true,
|
|
5017
5127
|
"locationInModule": {
|
|
5018
5128
|
"filename": "src/esbuild-types.ts",
|
|
5019
|
-
"line":
|
|
5129
|
+
"line": 62
|
|
5020
5130
|
},
|
|
5021
5131
|
"name": "keepNames",
|
|
5022
5132
|
"optional": true,
|
|
@@ -5033,7 +5143,7 @@
|
|
|
5033
5143
|
"immutable": true,
|
|
5034
5144
|
"locationInModule": {
|
|
5035
5145
|
"filename": "src/esbuild-types.ts",
|
|
5036
|
-
"line":
|
|
5146
|
+
"line": 14
|
|
5037
5147
|
},
|
|
5038
5148
|
"name": "legalComments",
|
|
5039
5149
|
"optional": true,
|
|
@@ -5049,7 +5159,7 @@
|
|
|
5049
5159
|
"immutable": true,
|
|
5050
5160
|
"locationInModule": {
|
|
5051
5161
|
"filename": "src/esbuild-types.ts",
|
|
5052
|
-
"line":
|
|
5162
|
+
"line": 237
|
|
5053
5163
|
},
|
|
5054
5164
|
"name": "loader",
|
|
5055
5165
|
"optional": true,
|
|
@@ -5066,7 +5176,7 @@
|
|
|
5066
5176
|
"immutable": true,
|
|
5067
5177
|
"locationInModule": {
|
|
5068
5178
|
"filename": "src/esbuild-types.ts",
|
|
5069
|
-
"line":
|
|
5179
|
+
"line": 67
|
|
5070
5180
|
},
|
|
5071
5181
|
"name": "logLevel",
|
|
5072
5182
|
"optional": true,
|
|
@@ -5083,7 +5193,7 @@
|
|
|
5083
5193
|
"immutable": true,
|
|
5084
5194
|
"locationInModule": {
|
|
5085
5195
|
"filename": "src/esbuild-types.ts",
|
|
5086
|
-
"line":
|
|
5196
|
+
"line": 69
|
|
5087
5197
|
},
|
|
5088
5198
|
"name": "logLimit",
|
|
5089
5199
|
"optional": true,
|
|
@@ -5091,6 +5201,54 @@
|
|
|
5091
5201
|
"primitive": "number"
|
|
5092
5202
|
}
|
|
5093
5203
|
},
|
|
5204
|
+
{
|
|
5205
|
+
"abstract": true,
|
|
5206
|
+
"docs": {
|
|
5207
|
+
"stability": "stable",
|
|
5208
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
5209
|
+
},
|
|
5210
|
+
"immutable": true,
|
|
5211
|
+
"locationInModule": {
|
|
5212
|
+
"filename": "src/esbuild-types.ts",
|
|
5213
|
+
"line": 32
|
|
5214
|
+
},
|
|
5215
|
+
"name": "mangleCache",
|
|
5216
|
+
"optional": true,
|
|
5217
|
+
"type": {
|
|
5218
|
+
"collection": {
|
|
5219
|
+
"elementtype": {
|
|
5220
|
+
"union": {
|
|
5221
|
+
"types": [
|
|
5222
|
+
{
|
|
5223
|
+
"primitive": "string"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"primitive": "boolean"
|
|
5227
|
+
}
|
|
5228
|
+
]
|
|
5229
|
+
}
|
|
5230
|
+
},
|
|
5231
|
+
"kind": "map"
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"abstract": true,
|
|
5237
|
+
"docs": {
|
|
5238
|
+
"stability": "stable",
|
|
5239
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
5240
|
+
},
|
|
5241
|
+
"immutable": true,
|
|
5242
|
+
"locationInModule": {
|
|
5243
|
+
"filename": "src/esbuild-types.ts",
|
|
5244
|
+
"line": 28
|
|
5245
|
+
},
|
|
5246
|
+
"name": "mangleProps",
|
|
5247
|
+
"optional": true,
|
|
5248
|
+
"type": {
|
|
5249
|
+
"primitive": "any"
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
5094
5252
|
{
|
|
5095
5253
|
"abstract": true,
|
|
5096
5254
|
"docs": {
|
|
@@ -5100,7 +5258,7 @@
|
|
|
5100
5258
|
"immutable": true,
|
|
5101
5259
|
"locationInModule": {
|
|
5102
5260
|
"filename": "src/esbuild-types.ts",
|
|
5103
|
-
"line":
|
|
5261
|
+
"line": 36
|
|
5104
5262
|
},
|
|
5105
5263
|
"name": "minify",
|
|
5106
5264
|
"optional": true,
|
|
@@ -5117,7 +5275,7 @@
|
|
|
5117
5275
|
"immutable": true,
|
|
5118
5276
|
"locationInModule": {
|
|
5119
5277
|
"filename": "src/esbuild-types.ts",
|
|
5120
|
-
"line":
|
|
5278
|
+
"line": 40
|
|
5121
5279
|
},
|
|
5122
5280
|
"name": "minifyIdentifiers",
|
|
5123
5281
|
"optional": true,
|
|
@@ -5134,7 +5292,7 @@
|
|
|
5134
5292
|
"immutable": true,
|
|
5135
5293
|
"locationInModule": {
|
|
5136
5294
|
"filename": "src/esbuild-types.ts",
|
|
5137
|
-
"line":
|
|
5295
|
+
"line": 42
|
|
5138
5296
|
},
|
|
5139
5297
|
"name": "minifySyntax",
|
|
5140
5298
|
"optional": true,
|
|
@@ -5151,7 +5309,7 @@
|
|
|
5151
5309
|
"immutable": true,
|
|
5152
5310
|
"locationInModule": {
|
|
5153
5311
|
"filename": "src/esbuild-types.ts",
|
|
5154
|
-
"line":
|
|
5312
|
+
"line": 38
|
|
5155
5313
|
},
|
|
5156
5314
|
"name": "minifyWhitespace",
|
|
5157
5315
|
"optional": true,
|
|
@@ -5168,7 +5326,7 @@
|
|
|
5168
5326
|
"immutable": true,
|
|
5169
5327
|
"locationInModule": {
|
|
5170
5328
|
"filename": "src/esbuild-types.ts",
|
|
5171
|
-
"line":
|
|
5329
|
+
"line": 60
|
|
5172
5330
|
},
|
|
5173
5331
|
"name": "pure",
|
|
5174
5332
|
"optional": true,
|
|
@@ -5181,6 +5339,23 @@
|
|
|
5181
5339
|
}
|
|
5182
5340
|
}
|
|
5183
5341
|
},
|
|
5342
|
+
{
|
|
5343
|
+
"abstract": true,
|
|
5344
|
+
"docs": {
|
|
5345
|
+
"stability": "stable",
|
|
5346
|
+
"summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
|
|
5347
|
+
},
|
|
5348
|
+
"immutable": true,
|
|
5349
|
+
"locationInModule": {
|
|
5350
|
+
"filename": "src/esbuild-types.ts",
|
|
5351
|
+
"line": 30
|
|
5352
|
+
},
|
|
5353
|
+
"name": "reserveProps",
|
|
5354
|
+
"optional": true,
|
|
5355
|
+
"type": {
|
|
5356
|
+
"primitive": "any"
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5184
5359
|
{
|
|
5185
5360
|
"abstract": true,
|
|
5186
5361
|
"docs": {
|
|
@@ -5189,7 +5364,7 @@
|
|
|
5189
5364
|
"immutable": true,
|
|
5190
5365
|
"locationInModule": {
|
|
5191
5366
|
"filename": "src/esbuild-types.ts",
|
|
5192
|
-
"line":
|
|
5367
|
+
"line": 236
|
|
5193
5368
|
},
|
|
5194
5369
|
"name": "sourcefile",
|
|
5195
5370
|
"optional": true,
|
|
@@ -5206,7 +5381,7 @@
|
|
|
5206
5381
|
"immutable": true,
|
|
5207
5382
|
"locationInModule": {
|
|
5208
5383
|
"filename": "src/esbuild-types.ts",
|
|
5209
|
-
"line":
|
|
5384
|
+
"line": 12
|
|
5210
5385
|
},
|
|
5211
5386
|
"name": "sourcemap",
|
|
5212
5387
|
"optional": true,
|
|
@@ -5232,7 +5407,7 @@
|
|
|
5232
5407
|
"immutable": true,
|
|
5233
5408
|
"locationInModule": {
|
|
5234
5409
|
"filename": "src/esbuild-types.ts",
|
|
5235
|
-
"line":
|
|
5410
|
+
"line": 16
|
|
5236
5411
|
},
|
|
5237
5412
|
"name": "sourceRoot",
|
|
5238
5413
|
"optional": true,
|
|
@@ -5249,7 +5424,7 @@
|
|
|
5249
5424
|
"immutable": true,
|
|
5250
5425
|
"locationInModule": {
|
|
5251
5426
|
"filename": "src/esbuild-types.ts",
|
|
5252
|
-
"line":
|
|
5427
|
+
"line": 18
|
|
5253
5428
|
},
|
|
5254
5429
|
"name": "sourcesContent",
|
|
5255
5430
|
"optional": true,
|
|
@@ -5266,7 +5441,7 @@
|
|
|
5266
5441
|
"immutable": true,
|
|
5267
5442
|
"locationInModule": {
|
|
5268
5443
|
"filename": "src/esbuild-types.ts",
|
|
5269
|
-
"line":
|
|
5444
|
+
"line": 25
|
|
5270
5445
|
},
|
|
5271
5446
|
"name": "target",
|
|
5272
5447
|
"optional": true,
|
|
@@ -5297,7 +5472,7 @@
|
|
|
5297
5472
|
"immutable": true,
|
|
5298
5473
|
"locationInModule": {
|
|
5299
5474
|
"filename": "src/esbuild-types.ts",
|
|
5300
|
-
"line":
|
|
5475
|
+
"line": 46
|
|
5301
5476
|
},
|
|
5302
5477
|
"name": "treeShaking",
|
|
5303
5478
|
"optional": true,
|
|
@@ -5313,7 +5488,7 @@
|
|
|
5313
5488
|
"immutable": true,
|
|
5314
5489
|
"locationInModule": {
|
|
5315
5490
|
"filename": "src/esbuild-types.ts",
|
|
5316
|
-
"line":
|
|
5491
|
+
"line": 234
|
|
5317
5492
|
},
|
|
5318
5493
|
"name": "tsconfigRaw",
|
|
5319
5494
|
"optional": true,
|
|
@@ -5847,6 +6022,6 @@
|
|
|
5847
6022
|
"symbolId": "src/source:TypeScriptSourceProps"
|
|
5848
6023
|
}
|
|
5849
6024
|
},
|
|
5850
|
-
"version": "3.
|
|
5851
|
-
"fingerprint": "
|
|
6025
|
+
"version": "3.2.0",
|
|
6026
|
+
"fingerprint": "/DRvqRIRg9HIljNa04kJv94E8EsBh+H3veGmZPvmuxE="
|
|
5852
6027
|
}
|