@mrgrain/cdk-esbuild 3.0.0 → 3.3.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/.jsii CHANGED
@@ -2777,7 +2777,7 @@
2777
2777
  "stability": "stable"
2778
2778
  },
2779
2779
  "homepage": "https://github.com/mrgrain/cdk-esbuild",
2780
- "jsiiVersion": "1.47.0 (build 86d2c33)",
2780
+ "jsiiVersion": "1.54.0 (build b1b977a)",
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> ⚠️ This is the documentation for the version 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.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": 63
2903
+ "line": 74
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": 115
2916
+ "line": 126
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": 93
2933
+ "line": 104
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": 105
2950
+ "line": 116
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": 109
2967
+ "line": 120
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": 65
2989
+ "line": 76
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": 35
3006
+ "line": 46
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": 103
3023
+ "line": 114
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": 56
3040
+ "line": 67
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": 89
3057
+ "line": 100
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": 49
3079
+ "line": 60
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": 36
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": 101
3123
+ "line": 112
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": 81
3140
+ "line": 92
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": 111
3162
+ "line": 122
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": 20
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": 22
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": 39
3218
+ "line": 50
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": 113
3235
+ "line": 124
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": 107
3252
+ "line": 118
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": 42
3274
+ "line": 53
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": 44
3291
+ "line": 55
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": 46
3308
+ "line": 57
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": 53
3325
+ "line": 64
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": 13
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": 83
3359
+ "line": 94
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": 58
3381
+ "line": 69
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": 60
3398
+ "line": 71
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": 87
3415
+ "line": 98
3393
3416
  },
3394
3417
  "name": "mainFields",
3395
3418
  "optional": true,
@@ -3402,6 +3425,71 @@
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": 34
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
+ },
3476
+ {
3477
+ "abstract": true,
3478
+ "docs": {
3479
+ "stability": "stable",
3480
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
3481
+ },
3482
+ "immutable": true,
3483
+ "locationInModule": {
3484
+ "filename": "src/esbuild-types.ts",
3485
+ "line": 32
3486
+ },
3487
+ "name": "mangleQuoted",
3488
+ "optional": true,
3489
+ "type": {
3490
+ "primitive": "boolean"
3491
+ }
3492
+ },
3405
3493
  {
3406
3494
  "abstract": true,
3407
3495
  "docs": {
@@ -3411,7 +3499,7 @@
3411
3499
  "immutable": true,
3412
3500
  "locationInModule": {
3413
3501
  "filename": "src/esbuild-types.ts",
3414
- "line": 73
3502
+ "line": 84
3415
3503
  },
3416
3504
  "name": "metafile",
3417
3505
  "optional": true,
@@ -3428,7 +3516,7 @@
3428
3516
  "immutable": true,
3429
3517
  "locationInModule": {
3430
3518
  "filename": "src/esbuild-types.ts",
3431
- "line": 27
3519
+ "line": 38
3432
3520
  },
3433
3521
  "name": "minify",
3434
3522
  "optional": true,
@@ -3445,7 +3533,7 @@
3445
3533
  "immutable": true,
3446
3534
  "locationInModule": {
3447
3535
  "filename": "src/esbuild-types.ts",
3448
- "line": 31
3536
+ "line": 42
3449
3537
  },
3450
3538
  "name": "minifyIdentifiers",
3451
3539
  "optional": true,
@@ -3462,7 +3550,7 @@
3462
3550
  "immutable": true,
3463
3551
  "locationInModule": {
3464
3552
  "filename": "src/esbuild-types.ts",
3465
- "line": 33
3553
+ "line": 44
3466
3554
  },
3467
3555
  "name": "minifySyntax",
3468
3556
  "optional": true,
@@ -3479,7 +3567,7 @@
3479
3567
  "immutable": true,
3480
3568
  "locationInModule": {
3481
3569
  "filename": "src/esbuild-types.ts",
3482
- "line": 29
3570
+ "line": 40
3483
3571
  },
3484
3572
  "name": "minifyWhitespace",
3485
3573
  "optional": true,
@@ -3496,7 +3584,7 @@
3496
3584
  "immutable": true,
3497
3585
  "locationInModule": {
3498
3586
  "filename": "src/esbuild-types.ts",
3499
- "line": 117
3587
+ "line": 128
3500
3588
  },
3501
3589
  "name": "nodePaths",
3502
3590
  "optional": true,
@@ -3518,7 +3606,7 @@
3518
3606
  "immutable": true,
3519
3607
  "locationInModule": {
3520
3608
  "filename": "src/esbuild-types.ts",
3521
- "line": 77
3609
+ "line": 88
3522
3610
  },
3523
3611
  "name": "outbase",
3524
3612
  "optional": true,
@@ -3535,7 +3623,7 @@
3535
3623
  "immutable": true,
3536
3624
  "locationInModule": {
3537
3625
  "filename": "src/esbuild-types.ts",
3538
- "line": 75
3626
+ "line": 86
3539
3627
  },
3540
3628
  "name": "outdir",
3541
3629
  "optional": true,
@@ -3552,7 +3640,7 @@
3552
3640
  "immutable": true,
3553
3641
  "locationInModule": {
3554
3642
  "filename": "src/esbuild-types.ts",
3555
- "line": 97
3643
+ "line": 108
3556
3644
  },
3557
3645
  "name": "outExtension",
3558
3646
  "optional": true,
@@ -3574,7 +3662,7 @@
3574
3662
  "immutable": true,
3575
3663
  "locationInModule": {
3576
3664
  "filename": "src/esbuild-types.ts",
3577
- "line": 71
3665
+ "line": 82
3578
3666
  },
3579
3667
  "name": "outfile",
3580
3668
  "optional": true,
@@ -3591,7 +3679,7 @@
3591
3679
  "immutable": true,
3592
3680
  "locationInModule": {
3593
3681
  "filename": "src/esbuild-types.ts",
3594
- "line": 79
3682
+ "line": 90
3595
3683
  },
3596
3684
  "name": "platform",
3597
3685
  "optional": true,
@@ -3608,7 +3696,7 @@
3608
3696
  "immutable": true,
3609
3697
  "locationInModule": {
3610
3698
  "filename": "src/esbuild-types.ts",
3611
- "line": 69
3699
+ "line": 80
3612
3700
  },
3613
3701
  "name": "preserveSymlinks",
3614
3702
  "optional": true,
@@ -3625,7 +3713,7 @@
3625
3713
  "immutable": true,
3626
3714
  "locationInModule": {
3627
3715
  "filename": "src/esbuild-types.ts",
3628
- "line": 99
3716
+ "line": 110
3629
3717
  },
3630
3718
  "name": "publicPath",
3631
3719
  "optional": true,
@@ -3642,7 +3730,7 @@
3642
3730
  "immutable": true,
3643
3731
  "locationInModule": {
3644
3732
  "filename": "src/esbuild-types.ts",
3645
- "line": 51
3733
+ "line": 62
3646
3734
  },
3647
3735
  "name": "pure",
3648
3736
  "optional": true,
@@ -3655,6 +3743,23 @@
3655
3743
  }
3656
3744
  }
3657
3745
  },
3746
+ {
3747
+ "abstract": true,
3748
+ "docs": {
3749
+ "stability": "stable",
3750
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
3751
+ },
3752
+ "immutable": true,
3753
+ "locationInModule": {
3754
+ "filename": "src/esbuild-types.ts",
3755
+ "line": 30
3756
+ },
3757
+ "name": "reserveProps",
3758
+ "optional": true,
3759
+ "type": {
3760
+ "primitive": "any"
3761
+ }
3762
+ },
3658
3763
  {
3659
3764
  "abstract": true,
3660
3765
  "docs": {
@@ -3664,7 +3769,7 @@
3664
3769
  "immutable": true,
3665
3770
  "locationInModule": {
3666
3771
  "filename": "src/esbuild-types.ts",
3667
- "line": 85
3772
+ "line": 96
3668
3773
  },
3669
3774
  "name": "resolveExtensions",
3670
3775
  "optional": true,
@@ -3686,7 +3791,7 @@
3686
3791
  "immutable": true,
3687
3792
  "locationInModule": {
3688
3793
  "filename": "src/esbuild-types.ts",
3689
- "line": 11
3794
+ "line": 12
3690
3795
  },
3691
3796
  "name": "sourcemap",
3692
3797
  "optional": true,
@@ -3712,7 +3817,7 @@
3712
3817
  "immutable": true,
3713
3818
  "locationInModule": {
3714
3819
  "filename": "src/esbuild-types.ts",
3715
- "line": 15
3820
+ "line": 16
3716
3821
  },
3717
3822
  "name": "sourceRoot",
3718
3823
  "optional": true,
@@ -3729,7 +3834,7 @@
3729
3834
  "immutable": true,
3730
3835
  "locationInModule": {
3731
3836
  "filename": "src/esbuild-types.ts",
3732
- "line": 17
3837
+ "line": 18
3733
3838
  },
3734
3839
  "name": "sourcesContent",
3735
3840
  "optional": true,
@@ -3746,7 +3851,7 @@
3746
3851
  "immutable": true,
3747
3852
  "locationInModule": {
3748
3853
  "filename": "src/esbuild-types.ts",
3749
- "line": 67
3854
+ "line": 78
3750
3855
  },
3751
3856
  "name": "splitting",
3752
3857
  "optional": true,
@@ -3763,7 +3868,7 @@
3763
3868
  "immutable": true,
3764
3869
  "locationInModule": {
3765
3870
  "filename": "src/esbuild-types.ts",
3766
- "line": 24
3871
+ "line": 25
3767
3872
  },
3768
3873
  "name": "target",
3769
3874
  "optional": true,
@@ -3794,7 +3899,7 @@
3794
3899
  "immutable": true,
3795
3900
  "locationInModule": {
3796
3901
  "filename": "src/esbuild-types.ts",
3797
- "line": 37
3902
+ "line": 48
3798
3903
  },
3799
3904
  "name": "treeShaking",
3800
3905
  "optional": true,
@@ -3811,7 +3916,7 @@
3811
3916
  "immutable": true,
3812
3917
  "locationInModule": {
3813
3918
  "filename": "src/esbuild-types.ts",
3814
- "line": 95
3919
+ "line": 106
3815
3920
  },
3816
3921
  "name": "tsconfig",
3817
3922
  "optional": true,
@@ -3828,7 +3933,7 @@
3828
3933
  "immutable": true,
3829
3934
  "locationInModule": {
3830
3935
  "filename": "src/esbuild-types.ts",
3831
- "line": 91
3936
+ "line": 102
3832
3937
  },
3833
3938
  "name": "write",
3834
3939
  "optional": true,
@@ -4813,7 +4918,7 @@
4813
4918
  "kind": "interface",
4814
4919
  "locationInModule": {
4815
4920
  "filename": "src/esbuild-types.ts",
4816
- "line": 222
4921
+ "line": 235
4817
4922
  },
4818
4923
  "name": "TransformOptions",
4819
4924
  "properties": [
@@ -4825,7 +4930,7 @@
4825
4930
  "immutable": true,
4826
4931
  "locationInModule": {
4827
4932
  "filename": "src/esbuild-types.ts",
4828
- "line": 227
4933
+ "line": 240
4829
4934
  },
4830
4935
  "name": "banner",
4831
4936
  "optional": true,
@@ -4842,7 +4947,7 @@
4842
4947
  "immutable": true,
4843
4948
  "locationInModule": {
4844
4949
  "filename": "src/esbuild-types.ts",
4845
- "line": 35
4950
+ "line": 46
4846
4951
  },
4847
4952
  "name": "charset",
4848
4953
  "optional": true,
@@ -4859,7 +4964,7 @@
4859
4964
  "immutable": true,
4860
4965
  "locationInModule": {
4861
4966
  "filename": "src/esbuild-types.ts",
4862
- "line": 56
4967
+ "line": 67
4863
4968
  },
4864
4969
  "name": "color",
4865
4970
  "optional": true,
@@ -4876,7 +4981,7 @@
4876
4981
  "immutable": true,
4877
4982
  "locationInModule": {
4878
4983
  "filename": "src/esbuild-types.ts",
4879
- "line": 49
4984
+ "line": 60
4880
4985
  },
4881
4986
  "name": "define",
4882
4987
  "optional": true,
@@ -4889,6 +4994,28 @@
4889
4994
  }
4890
4995
  }
4891
4996
  },
4997
+ {
4998
+ "abstract": true,
4999
+ "docs": {
5000
+ "stability": "stable",
5001
+ "summary": "Documentation: https://esbuild.github.io/api/#drop."
5002
+ },
5003
+ "immutable": true,
5004
+ "locationInModule": {
5005
+ "filename": "src/esbuild-types.ts",
5006
+ "line": 36
5007
+ },
5008
+ "name": "drop",
5009
+ "optional": true,
5010
+ "type": {
5011
+ "collection": {
5012
+ "elementtype": {
5013
+ "primitive": "string"
5014
+ },
5015
+ "kind": "array"
5016
+ }
5017
+ }
5018
+ },
4892
5019
  {
4893
5020
  "abstract": true,
4894
5021
  "docs": {
@@ -4897,7 +5024,7 @@
4897
5024
  "immutable": true,
4898
5025
  "locationInModule": {
4899
5026
  "filename": "src/esbuild-types.ts",
4900
- "line": 228
5027
+ "line": 241
4901
5028
  },
4902
5029
  "name": "footer",
4903
5030
  "optional": true,
@@ -4914,7 +5041,7 @@
4914
5041
  "immutable": true,
4915
5042
  "locationInModule": {
4916
5043
  "filename": "src/esbuild-types.ts",
4917
- "line": 20
5044
+ "line": 21
4918
5045
  },
4919
5046
  "name": "format",
4920
5047
  "optional": true,
@@ -4931,7 +5058,7 @@
4931
5058
  "immutable": true,
4932
5059
  "locationInModule": {
4933
5060
  "filename": "src/esbuild-types.ts",
4934
- "line": 22
5061
+ "line": 23
4935
5062
  },
4936
5063
  "name": "globalName",
4937
5064
  "optional": true,
@@ -4948,7 +5075,7 @@
4948
5075
  "immutable": true,
4949
5076
  "locationInModule": {
4950
5077
  "filename": "src/esbuild-types.ts",
4951
- "line": 39
5078
+ "line": 50
4952
5079
  },
4953
5080
  "name": "ignoreAnnotations",
4954
5081
  "optional": true,
@@ -4965,7 +5092,7 @@
4965
5092
  "immutable": true,
4966
5093
  "locationInModule": {
4967
5094
  "filename": "src/esbuild-types.ts",
4968
- "line": 42
5095
+ "line": 53
4969
5096
  },
4970
5097
  "name": "jsx",
4971
5098
  "optional": true,
@@ -4982,7 +5109,7 @@
4982
5109
  "immutable": true,
4983
5110
  "locationInModule": {
4984
5111
  "filename": "src/esbuild-types.ts",
4985
- "line": 44
5112
+ "line": 55
4986
5113
  },
4987
5114
  "name": "jsxFactory",
4988
5115
  "optional": true,
@@ -4999,7 +5126,7 @@
4999
5126
  "immutable": true,
5000
5127
  "locationInModule": {
5001
5128
  "filename": "src/esbuild-types.ts",
5002
- "line": 46
5129
+ "line": 57
5003
5130
  },
5004
5131
  "name": "jsxFragment",
5005
5132
  "optional": true,
@@ -5016,7 +5143,7 @@
5016
5143
  "immutable": true,
5017
5144
  "locationInModule": {
5018
5145
  "filename": "src/esbuild-types.ts",
5019
- "line": 53
5146
+ "line": 64
5020
5147
  },
5021
5148
  "name": "keepNames",
5022
5149
  "optional": true,
@@ -5033,7 +5160,7 @@
5033
5160
  "immutable": true,
5034
5161
  "locationInModule": {
5035
5162
  "filename": "src/esbuild-types.ts",
5036
- "line": 13
5163
+ "line": 14
5037
5164
  },
5038
5165
  "name": "legalComments",
5039
5166
  "optional": true,
@@ -5049,7 +5176,7 @@
5049
5176
  "immutable": true,
5050
5177
  "locationInModule": {
5051
5178
  "filename": "src/esbuild-types.ts",
5052
- "line": 226
5179
+ "line": 239
5053
5180
  },
5054
5181
  "name": "loader",
5055
5182
  "optional": true,
@@ -5066,7 +5193,7 @@
5066
5193
  "immutable": true,
5067
5194
  "locationInModule": {
5068
5195
  "filename": "src/esbuild-types.ts",
5069
- "line": 58
5196
+ "line": 69
5070
5197
  },
5071
5198
  "name": "logLevel",
5072
5199
  "optional": true,
@@ -5083,7 +5210,7 @@
5083
5210
  "immutable": true,
5084
5211
  "locationInModule": {
5085
5212
  "filename": "src/esbuild-types.ts",
5086
- "line": 60
5213
+ "line": 71
5087
5214
  },
5088
5215
  "name": "logLimit",
5089
5216
  "optional": true,
@@ -5091,6 +5218,71 @@
5091
5218
  "primitive": "number"
5092
5219
  }
5093
5220
  },
5221
+ {
5222
+ "abstract": true,
5223
+ "docs": {
5224
+ "stability": "stable",
5225
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
5226
+ },
5227
+ "immutable": true,
5228
+ "locationInModule": {
5229
+ "filename": "src/esbuild-types.ts",
5230
+ "line": 34
5231
+ },
5232
+ "name": "mangleCache",
5233
+ "optional": true,
5234
+ "type": {
5235
+ "collection": {
5236
+ "elementtype": {
5237
+ "union": {
5238
+ "types": [
5239
+ {
5240
+ "primitive": "string"
5241
+ },
5242
+ {
5243
+ "primitive": "boolean"
5244
+ }
5245
+ ]
5246
+ }
5247
+ },
5248
+ "kind": "map"
5249
+ }
5250
+ }
5251
+ },
5252
+ {
5253
+ "abstract": true,
5254
+ "docs": {
5255
+ "stability": "stable",
5256
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
5257
+ },
5258
+ "immutable": true,
5259
+ "locationInModule": {
5260
+ "filename": "src/esbuild-types.ts",
5261
+ "line": 28
5262
+ },
5263
+ "name": "mangleProps",
5264
+ "optional": true,
5265
+ "type": {
5266
+ "primitive": "any"
5267
+ }
5268
+ },
5269
+ {
5270
+ "abstract": true,
5271
+ "docs": {
5272
+ "stability": "stable",
5273
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
5274
+ },
5275
+ "immutable": true,
5276
+ "locationInModule": {
5277
+ "filename": "src/esbuild-types.ts",
5278
+ "line": 32
5279
+ },
5280
+ "name": "mangleQuoted",
5281
+ "optional": true,
5282
+ "type": {
5283
+ "primitive": "boolean"
5284
+ }
5285
+ },
5094
5286
  {
5095
5287
  "abstract": true,
5096
5288
  "docs": {
@@ -5100,7 +5292,7 @@
5100
5292
  "immutable": true,
5101
5293
  "locationInModule": {
5102
5294
  "filename": "src/esbuild-types.ts",
5103
- "line": 27
5295
+ "line": 38
5104
5296
  },
5105
5297
  "name": "minify",
5106
5298
  "optional": true,
@@ -5117,7 +5309,7 @@
5117
5309
  "immutable": true,
5118
5310
  "locationInModule": {
5119
5311
  "filename": "src/esbuild-types.ts",
5120
- "line": 31
5312
+ "line": 42
5121
5313
  },
5122
5314
  "name": "minifyIdentifiers",
5123
5315
  "optional": true,
@@ -5134,7 +5326,7 @@
5134
5326
  "immutable": true,
5135
5327
  "locationInModule": {
5136
5328
  "filename": "src/esbuild-types.ts",
5137
- "line": 33
5329
+ "line": 44
5138
5330
  },
5139
5331
  "name": "minifySyntax",
5140
5332
  "optional": true,
@@ -5151,7 +5343,7 @@
5151
5343
  "immutable": true,
5152
5344
  "locationInModule": {
5153
5345
  "filename": "src/esbuild-types.ts",
5154
- "line": 29
5346
+ "line": 40
5155
5347
  },
5156
5348
  "name": "minifyWhitespace",
5157
5349
  "optional": true,
@@ -5168,7 +5360,7 @@
5168
5360
  "immutable": true,
5169
5361
  "locationInModule": {
5170
5362
  "filename": "src/esbuild-types.ts",
5171
- "line": 51
5363
+ "line": 62
5172
5364
  },
5173
5365
  "name": "pure",
5174
5366
  "optional": true,
@@ -5181,6 +5373,23 @@
5181
5373
  }
5182
5374
  }
5183
5375
  },
5376
+ {
5377
+ "abstract": true,
5378
+ "docs": {
5379
+ "stability": "stable",
5380
+ "summary": "Documentation: https://esbuild.github.io/api/#mangle-props."
5381
+ },
5382
+ "immutable": true,
5383
+ "locationInModule": {
5384
+ "filename": "src/esbuild-types.ts",
5385
+ "line": 30
5386
+ },
5387
+ "name": "reserveProps",
5388
+ "optional": true,
5389
+ "type": {
5390
+ "primitive": "any"
5391
+ }
5392
+ },
5184
5393
  {
5185
5394
  "abstract": true,
5186
5395
  "docs": {
@@ -5189,7 +5398,7 @@
5189
5398
  "immutable": true,
5190
5399
  "locationInModule": {
5191
5400
  "filename": "src/esbuild-types.ts",
5192
- "line": 225
5401
+ "line": 238
5193
5402
  },
5194
5403
  "name": "sourcefile",
5195
5404
  "optional": true,
@@ -5206,7 +5415,7 @@
5206
5415
  "immutable": true,
5207
5416
  "locationInModule": {
5208
5417
  "filename": "src/esbuild-types.ts",
5209
- "line": 11
5418
+ "line": 12
5210
5419
  },
5211
5420
  "name": "sourcemap",
5212
5421
  "optional": true,
@@ -5232,7 +5441,7 @@
5232
5441
  "immutable": true,
5233
5442
  "locationInModule": {
5234
5443
  "filename": "src/esbuild-types.ts",
5235
- "line": 15
5444
+ "line": 16
5236
5445
  },
5237
5446
  "name": "sourceRoot",
5238
5447
  "optional": true,
@@ -5249,7 +5458,7 @@
5249
5458
  "immutable": true,
5250
5459
  "locationInModule": {
5251
5460
  "filename": "src/esbuild-types.ts",
5252
- "line": 17
5461
+ "line": 18
5253
5462
  },
5254
5463
  "name": "sourcesContent",
5255
5464
  "optional": true,
@@ -5266,7 +5475,7 @@
5266
5475
  "immutable": true,
5267
5476
  "locationInModule": {
5268
5477
  "filename": "src/esbuild-types.ts",
5269
- "line": 24
5478
+ "line": 25
5270
5479
  },
5271
5480
  "name": "target",
5272
5481
  "optional": true,
@@ -5297,7 +5506,7 @@
5297
5506
  "immutable": true,
5298
5507
  "locationInModule": {
5299
5508
  "filename": "src/esbuild-types.ts",
5300
- "line": 37
5509
+ "line": 48
5301
5510
  },
5302
5511
  "name": "treeShaking",
5303
5512
  "optional": true,
@@ -5313,7 +5522,7 @@
5313
5522
  "immutable": true,
5314
5523
  "locationInModule": {
5315
5524
  "filename": "src/esbuild-types.ts",
5316
- "line": 223
5525
+ "line": 236
5317
5526
  },
5318
5527
  "name": "tsconfigRaw",
5319
5528
  "optional": true,
@@ -5847,6 +6056,6 @@
5847
6056
  "symbolId": "src/source:TypeScriptSourceProps"
5848
6057
  }
5849
6058
  },
5850
- "version": "3.0.0",
5851
- "fingerprint": "G/2fSbIqsPzvPUsWuxr+AWotwjFY5QCAf9R/bKfu3H0="
6059
+ "version": "3.3.0",
6060
+ "fingerprint": "Q2F6iETZiRfNYQpToAP4z9DFp9FZ44lOZazVBzIGdEU="
5852
6061
  }