@mrgrain/cdk-esbuild 3.1.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/.jsii CHANGED
@@ -2800,7 +2800,7 @@
2800
2800
  },
2801
2801
  "name": "@mrgrain/cdk-esbuild",
2802
2802
  "readme": {
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.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/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
+ "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"
2804
2804
  },
2805
2805
  "repository": {
2806
2806
  "type": "git",
@@ -2900,7 +2900,7 @@
2900
2900
  "kind": "interface",
2901
2901
  "locationInModule": {
2902
2902
  "filename": "src/esbuild-types.ts",
2903
- "line": 65
2903
+ "line": 72
2904
2904
  },
2905
2905
  "name": "BuildOptions",
2906
2906
  "properties": [
@@ -2913,7 +2913,7 @@
2913
2913
  "immutable": true,
2914
2914
  "locationInModule": {
2915
2915
  "filename": "src/esbuild-types.ts",
2916
- "line": 117
2916
+ "line": 124
2917
2917
  },
2918
2918
  "name": "absWorkingDir",
2919
2919
  "optional": true,
@@ -2930,7 +2930,7 @@
2930
2930
  "immutable": true,
2931
2931
  "locationInModule": {
2932
2932
  "filename": "src/esbuild-types.ts",
2933
- "line": 95
2933
+ "line": 102
2934
2934
  },
2935
2935
  "name": "allowOverwrite",
2936
2936
  "optional": true,
@@ -2947,7 +2947,7 @@
2947
2947
  "immutable": true,
2948
2948
  "locationInModule": {
2949
2949
  "filename": "src/esbuild-types.ts",
2950
- "line": 107
2950
+ "line": 114
2951
2951
  },
2952
2952
  "name": "assetNames",
2953
2953
  "optional": true,
@@ -2964,7 +2964,7 @@
2964
2964
  "immutable": true,
2965
2965
  "locationInModule": {
2966
2966
  "filename": "src/esbuild-types.ts",
2967
- "line": 111
2967
+ "line": 118
2968
2968
  },
2969
2969
  "name": "banner",
2970
2970
  "optional": true,
@@ -2986,7 +2986,7 @@
2986
2986
  "immutable": true,
2987
2987
  "locationInModule": {
2988
2988
  "filename": "src/esbuild-types.ts",
2989
- "line": 67
2989
+ "line": 74
2990
2990
  },
2991
2991
  "name": "bundle",
2992
2992
  "optional": true,
@@ -3003,7 +3003,7 @@
3003
3003
  "immutable": true,
3004
3004
  "locationInModule": {
3005
3005
  "filename": "src/esbuild-types.ts",
3006
- "line": 37
3006
+ "line": 44
3007
3007
  },
3008
3008
  "name": "charset",
3009
3009
  "optional": true,
@@ -3020,7 +3020,7 @@
3020
3020
  "immutable": true,
3021
3021
  "locationInModule": {
3022
3022
  "filename": "src/esbuild-types.ts",
3023
- "line": 105
3023
+ "line": 112
3024
3024
  },
3025
3025
  "name": "chunkNames",
3026
3026
  "optional": true,
@@ -3037,7 +3037,7 @@
3037
3037
  "immutable": true,
3038
3038
  "locationInModule": {
3039
3039
  "filename": "src/esbuild-types.ts",
3040
- "line": 58
3040
+ "line": 65
3041
3041
  },
3042
3042
  "name": "color",
3043
3043
  "optional": true,
@@ -3054,7 +3054,7 @@
3054
3054
  "immutable": true,
3055
3055
  "locationInModule": {
3056
3056
  "filename": "src/esbuild-types.ts",
3057
- "line": 91
3057
+ "line": 98
3058
3058
  },
3059
3059
  "name": "conditions",
3060
3060
  "optional": true,
@@ -3076,7 +3076,7 @@
3076
3076
  "immutable": true,
3077
3077
  "locationInModule": {
3078
3078
  "filename": "src/esbuild-types.ts",
3079
- "line": 51
3079
+ "line": 58
3080
3080
  },
3081
3081
  "name": "define",
3082
3082
  "optional": true,
@@ -3092,12 +3092,13 @@
3092
3092
  {
3093
3093
  "abstract": true,
3094
3094
  "docs": {
3095
- "stability": "stable"
3095
+ "stability": "stable",
3096
+ "summary": "Documentation: https://esbuild.github.io/api/#drop."
3096
3097
  },
3097
3098
  "immutable": true,
3098
3099
  "locationInModule": {
3099
3100
  "filename": "src/esbuild-types.ts",
3100
- "line": 27
3101
+ "line": 34
3101
3102
  },
3102
3103
  "name": "drop",
3103
3104
  "optional": true,
@@ -3119,7 +3120,7 @@
3119
3120
  "immutable": true,
3120
3121
  "locationInModule": {
3121
3122
  "filename": "src/esbuild-types.ts",
3122
- "line": 103
3123
+ "line": 110
3123
3124
  },
3124
3125
  "name": "entryNames",
3125
3126
  "optional": true,
@@ -3136,7 +3137,7 @@
3136
3137
  "immutable": true,
3137
3138
  "locationInModule": {
3138
3139
  "filename": "src/esbuild-types.ts",
3139
- "line": 83
3140
+ "line": 90
3140
3141
  },
3141
3142
  "name": "external",
3142
3143
  "optional": true,
@@ -3158,7 +3159,7 @@
3158
3159
  "immutable": true,
3159
3160
  "locationInModule": {
3160
3161
  "filename": "src/esbuild-types.ts",
3161
- "line": 113
3162
+ "line": 120
3162
3163
  },
3163
3164
  "name": "footer",
3164
3165
  "optional": true,
@@ -3214,7 +3215,7 @@
3214
3215
  "immutable": true,
3215
3216
  "locationInModule": {
3216
3217
  "filename": "src/esbuild-types.ts",
3217
- "line": 41
3218
+ "line": 48
3218
3219
  },
3219
3220
  "name": "ignoreAnnotations",
3220
3221
  "optional": true,
@@ -3231,7 +3232,7 @@
3231
3232
  "immutable": true,
3232
3233
  "locationInModule": {
3233
3234
  "filename": "src/esbuild-types.ts",
3234
- "line": 115
3235
+ "line": 122
3235
3236
  },
3236
3237
  "name": "incremental",
3237
3238
  "optional": true,
@@ -3248,7 +3249,7 @@
3248
3249
  "immutable": true,
3249
3250
  "locationInModule": {
3250
3251
  "filename": "src/esbuild-types.ts",
3251
- "line": 109
3252
+ "line": 116
3252
3253
  },
3253
3254
  "name": "inject",
3254
3255
  "optional": true,
@@ -3270,7 +3271,7 @@
3270
3271
  "immutable": true,
3271
3272
  "locationInModule": {
3272
3273
  "filename": "src/esbuild-types.ts",
3273
- "line": 44
3274
+ "line": 51
3274
3275
  },
3275
3276
  "name": "jsx",
3276
3277
  "optional": true,
@@ -3287,7 +3288,7 @@
3287
3288
  "immutable": true,
3288
3289
  "locationInModule": {
3289
3290
  "filename": "src/esbuild-types.ts",
3290
- "line": 46
3291
+ "line": 53
3291
3292
  },
3292
3293
  "name": "jsxFactory",
3293
3294
  "optional": true,
@@ -3304,7 +3305,7 @@
3304
3305
  "immutable": true,
3305
3306
  "locationInModule": {
3306
3307
  "filename": "src/esbuild-types.ts",
3307
- "line": 48
3308
+ "line": 55
3308
3309
  },
3309
3310
  "name": "jsxFragment",
3310
3311
  "optional": true,
@@ -3321,7 +3322,7 @@
3321
3322
  "immutable": true,
3322
3323
  "locationInModule": {
3323
3324
  "filename": "src/esbuild-types.ts",
3324
- "line": 55
3325
+ "line": 62
3325
3326
  },
3326
3327
  "name": "keepNames",
3327
3328
  "optional": true,
@@ -3355,7 +3356,7 @@
3355
3356
  "immutable": true,
3356
3357
  "locationInModule": {
3357
3358
  "filename": "src/esbuild-types.ts",
3358
- "line": 85
3359
+ "line": 92
3359
3360
  },
3360
3361
  "name": "loader",
3361
3362
  "optional": true,
@@ -3377,7 +3378,7 @@
3377
3378
  "immutable": true,
3378
3379
  "locationInModule": {
3379
3380
  "filename": "src/esbuild-types.ts",
3380
- "line": 60
3381
+ "line": 67
3381
3382
  },
3382
3383
  "name": "logLevel",
3383
3384
  "optional": true,
@@ -3394,7 +3395,7 @@
3394
3395
  "immutable": true,
3395
3396
  "locationInModule": {
3396
3397
  "filename": "src/esbuild-types.ts",
3397
- "line": 62
3398
+ "line": 69
3398
3399
  },
3399
3400
  "name": "logLimit",
3400
3401
  "optional": true,
@@ -3411,7 +3412,7 @@
3411
3412
  "immutable": true,
3412
3413
  "locationInModule": {
3413
3414
  "filename": "src/esbuild-types.ts",
3414
- "line": 89
3415
+ "line": 96
3415
3416
  },
3416
3417
  "name": "mainFields",
3417
3418
  "optional": true,
@@ -3424,6 +3425,54 @@
3424
3425
  }
3425
3426
  }
3426
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
+ },
3427
3476
  {
3428
3477
  "abstract": true,
3429
3478
  "docs": {
@@ -3433,7 +3482,7 @@
3433
3482
  "immutable": true,
3434
3483
  "locationInModule": {
3435
3484
  "filename": "src/esbuild-types.ts",
3436
- "line": 75
3485
+ "line": 82
3437
3486
  },
3438
3487
  "name": "metafile",
3439
3488
  "optional": true,
@@ -3450,7 +3499,7 @@
3450
3499
  "immutable": true,
3451
3500
  "locationInModule": {
3452
3501
  "filename": "src/esbuild-types.ts",
3453
- "line": 29
3502
+ "line": 36
3454
3503
  },
3455
3504
  "name": "minify",
3456
3505
  "optional": true,
@@ -3467,7 +3516,7 @@
3467
3516
  "immutable": true,
3468
3517
  "locationInModule": {
3469
3518
  "filename": "src/esbuild-types.ts",
3470
- "line": 33
3519
+ "line": 40
3471
3520
  },
3472
3521
  "name": "minifyIdentifiers",
3473
3522
  "optional": true,
@@ -3484,7 +3533,7 @@
3484
3533
  "immutable": true,
3485
3534
  "locationInModule": {
3486
3535
  "filename": "src/esbuild-types.ts",
3487
- "line": 35
3536
+ "line": 42
3488
3537
  },
3489
3538
  "name": "minifySyntax",
3490
3539
  "optional": true,
@@ -3501,7 +3550,7 @@
3501
3550
  "immutable": true,
3502
3551
  "locationInModule": {
3503
3552
  "filename": "src/esbuild-types.ts",
3504
- "line": 31
3553
+ "line": 38
3505
3554
  },
3506
3555
  "name": "minifyWhitespace",
3507
3556
  "optional": true,
@@ -3518,7 +3567,7 @@
3518
3567
  "immutable": true,
3519
3568
  "locationInModule": {
3520
3569
  "filename": "src/esbuild-types.ts",
3521
- "line": 119
3570
+ "line": 126
3522
3571
  },
3523
3572
  "name": "nodePaths",
3524
3573
  "optional": true,
@@ -3540,7 +3589,7 @@
3540
3589
  "immutable": true,
3541
3590
  "locationInModule": {
3542
3591
  "filename": "src/esbuild-types.ts",
3543
- "line": 79
3592
+ "line": 86
3544
3593
  },
3545
3594
  "name": "outbase",
3546
3595
  "optional": true,
@@ -3557,7 +3606,7 @@
3557
3606
  "immutable": true,
3558
3607
  "locationInModule": {
3559
3608
  "filename": "src/esbuild-types.ts",
3560
- "line": 77
3609
+ "line": 84
3561
3610
  },
3562
3611
  "name": "outdir",
3563
3612
  "optional": true,
@@ -3574,7 +3623,7 @@
3574
3623
  "immutable": true,
3575
3624
  "locationInModule": {
3576
3625
  "filename": "src/esbuild-types.ts",
3577
- "line": 99
3626
+ "line": 106
3578
3627
  },
3579
3628
  "name": "outExtension",
3580
3629
  "optional": true,
@@ -3596,7 +3645,7 @@
3596
3645
  "immutable": true,
3597
3646
  "locationInModule": {
3598
3647
  "filename": "src/esbuild-types.ts",
3599
- "line": 73
3648
+ "line": 80
3600
3649
  },
3601
3650
  "name": "outfile",
3602
3651
  "optional": true,
@@ -3613,7 +3662,7 @@
3613
3662
  "immutable": true,
3614
3663
  "locationInModule": {
3615
3664
  "filename": "src/esbuild-types.ts",
3616
- "line": 81
3665
+ "line": 88
3617
3666
  },
3618
3667
  "name": "platform",
3619
3668
  "optional": true,
@@ -3630,7 +3679,7 @@
3630
3679
  "immutable": true,
3631
3680
  "locationInModule": {
3632
3681
  "filename": "src/esbuild-types.ts",
3633
- "line": 71
3682
+ "line": 78
3634
3683
  },
3635
3684
  "name": "preserveSymlinks",
3636
3685
  "optional": true,
@@ -3647,7 +3696,7 @@
3647
3696
  "immutable": true,
3648
3697
  "locationInModule": {
3649
3698
  "filename": "src/esbuild-types.ts",
3650
- "line": 101
3699
+ "line": 108
3651
3700
  },
3652
3701
  "name": "publicPath",
3653
3702
  "optional": true,
@@ -3664,7 +3713,7 @@
3664
3713
  "immutable": true,
3665
3714
  "locationInModule": {
3666
3715
  "filename": "src/esbuild-types.ts",
3667
- "line": 53
3716
+ "line": 60
3668
3717
  },
3669
3718
  "name": "pure",
3670
3719
  "optional": true,
@@ -3677,6 +3726,23 @@
3677
3726
  }
3678
3727
  }
3679
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
+ },
3680
3746
  {
3681
3747
  "abstract": true,
3682
3748
  "docs": {
@@ -3686,7 +3752,7 @@
3686
3752
  "immutable": true,
3687
3753
  "locationInModule": {
3688
3754
  "filename": "src/esbuild-types.ts",
3689
- "line": 87
3755
+ "line": 94
3690
3756
  },
3691
3757
  "name": "resolveExtensions",
3692
3758
  "optional": true,
@@ -3768,7 +3834,7 @@
3768
3834
  "immutable": true,
3769
3835
  "locationInModule": {
3770
3836
  "filename": "src/esbuild-types.ts",
3771
- "line": 69
3837
+ "line": 76
3772
3838
  },
3773
3839
  "name": "splitting",
3774
3840
  "optional": true,
@@ -3816,7 +3882,7 @@
3816
3882
  "immutable": true,
3817
3883
  "locationInModule": {
3818
3884
  "filename": "src/esbuild-types.ts",
3819
- "line": 39
3885
+ "line": 46
3820
3886
  },
3821
3887
  "name": "treeShaking",
3822
3888
  "optional": true,
@@ -3833,7 +3899,7 @@
3833
3899
  "immutable": true,
3834
3900
  "locationInModule": {
3835
3901
  "filename": "src/esbuild-types.ts",
3836
- "line": 97
3902
+ "line": 104
3837
3903
  },
3838
3904
  "name": "tsconfig",
3839
3905
  "optional": true,
@@ -3850,7 +3916,7 @@
3850
3916
  "immutable": true,
3851
3917
  "locationInModule": {
3852
3918
  "filename": "src/esbuild-types.ts",
3853
- "line": 93
3919
+ "line": 100
3854
3920
  },
3855
3921
  "name": "write",
3856
3922
  "optional": true,
@@ -4835,7 +4901,7 @@
4835
4901
  "kind": "interface",
4836
4902
  "locationInModule": {
4837
4903
  "filename": "src/esbuild-types.ts",
4838
- "line": 224
4904
+ "line": 233
4839
4905
  },
4840
4906
  "name": "TransformOptions",
4841
4907
  "properties": [
@@ -4847,7 +4913,7 @@
4847
4913
  "immutable": true,
4848
4914
  "locationInModule": {
4849
4915
  "filename": "src/esbuild-types.ts",
4850
- "line": 229
4916
+ "line": 238
4851
4917
  },
4852
4918
  "name": "banner",
4853
4919
  "optional": true,
@@ -4864,7 +4930,7 @@
4864
4930
  "immutable": true,
4865
4931
  "locationInModule": {
4866
4932
  "filename": "src/esbuild-types.ts",
4867
- "line": 37
4933
+ "line": 44
4868
4934
  },
4869
4935
  "name": "charset",
4870
4936
  "optional": true,
@@ -4881,7 +4947,7 @@
4881
4947
  "immutable": true,
4882
4948
  "locationInModule": {
4883
4949
  "filename": "src/esbuild-types.ts",
4884
- "line": 58
4950
+ "line": 65
4885
4951
  },
4886
4952
  "name": "color",
4887
4953
  "optional": true,
@@ -4898,7 +4964,7 @@
4898
4964
  "immutable": true,
4899
4965
  "locationInModule": {
4900
4966
  "filename": "src/esbuild-types.ts",
4901
- "line": 51
4967
+ "line": 58
4902
4968
  },
4903
4969
  "name": "define",
4904
4970
  "optional": true,
@@ -4914,12 +4980,13 @@
4914
4980
  {
4915
4981
  "abstract": true,
4916
4982
  "docs": {
4917
- "stability": "stable"
4983
+ "stability": "stable",
4984
+ "summary": "Documentation: https://esbuild.github.io/api/#drop."
4918
4985
  },
4919
4986
  "immutable": true,
4920
4987
  "locationInModule": {
4921
4988
  "filename": "src/esbuild-types.ts",
4922
- "line": 27
4989
+ "line": 34
4923
4990
  },
4924
4991
  "name": "drop",
4925
4992
  "optional": true,
@@ -4940,7 +5007,7 @@
4940
5007
  "immutable": true,
4941
5008
  "locationInModule": {
4942
5009
  "filename": "src/esbuild-types.ts",
4943
- "line": 230
5010
+ "line": 239
4944
5011
  },
4945
5012
  "name": "footer",
4946
5013
  "optional": true,
@@ -4991,7 +5058,7 @@
4991
5058
  "immutable": true,
4992
5059
  "locationInModule": {
4993
5060
  "filename": "src/esbuild-types.ts",
4994
- "line": 41
5061
+ "line": 48
4995
5062
  },
4996
5063
  "name": "ignoreAnnotations",
4997
5064
  "optional": true,
@@ -5008,7 +5075,7 @@
5008
5075
  "immutable": true,
5009
5076
  "locationInModule": {
5010
5077
  "filename": "src/esbuild-types.ts",
5011
- "line": 44
5078
+ "line": 51
5012
5079
  },
5013
5080
  "name": "jsx",
5014
5081
  "optional": true,
@@ -5025,7 +5092,7 @@
5025
5092
  "immutable": true,
5026
5093
  "locationInModule": {
5027
5094
  "filename": "src/esbuild-types.ts",
5028
- "line": 46
5095
+ "line": 53
5029
5096
  },
5030
5097
  "name": "jsxFactory",
5031
5098
  "optional": true,
@@ -5042,7 +5109,7 @@
5042
5109
  "immutable": true,
5043
5110
  "locationInModule": {
5044
5111
  "filename": "src/esbuild-types.ts",
5045
- "line": 48
5112
+ "line": 55
5046
5113
  },
5047
5114
  "name": "jsxFragment",
5048
5115
  "optional": true,
@@ -5059,7 +5126,7 @@
5059
5126
  "immutable": true,
5060
5127
  "locationInModule": {
5061
5128
  "filename": "src/esbuild-types.ts",
5062
- "line": 55
5129
+ "line": 62
5063
5130
  },
5064
5131
  "name": "keepNames",
5065
5132
  "optional": true,
@@ -5092,7 +5159,7 @@
5092
5159
  "immutable": true,
5093
5160
  "locationInModule": {
5094
5161
  "filename": "src/esbuild-types.ts",
5095
- "line": 228
5162
+ "line": 237
5096
5163
  },
5097
5164
  "name": "loader",
5098
5165
  "optional": true,
@@ -5109,7 +5176,7 @@
5109
5176
  "immutable": true,
5110
5177
  "locationInModule": {
5111
5178
  "filename": "src/esbuild-types.ts",
5112
- "line": 60
5179
+ "line": 67
5113
5180
  },
5114
5181
  "name": "logLevel",
5115
5182
  "optional": true,
@@ -5126,7 +5193,7 @@
5126
5193
  "immutable": true,
5127
5194
  "locationInModule": {
5128
5195
  "filename": "src/esbuild-types.ts",
5129
- "line": 62
5196
+ "line": 69
5130
5197
  },
5131
5198
  "name": "logLimit",
5132
5199
  "optional": true,
@@ -5134,6 +5201,54 @@
5134
5201
  "primitive": "number"
5135
5202
  }
5136
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
+ },
5137
5252
  {
5138
5253
  "abstract": true,
5139
5254
  "docs": {
@@ -5143,7 +5258,7 @@
5143
5258
  "immutable": true,
5144
5259
  "locationInModule": {
5145
5260
  "filename": "src/esbuild-types.ts",
5146
- "line": 29
5261
+ "line": 36
5147
5262
  },
5148
5263
  "name": "minify",
5149
5264
  "optional": true,
@@ -5160,7 +5275,7 @@
5160
5275
  "immutable": true,
5161
5276
  "locationInModule": {
5162
5277
  "filename": "src/esbuild-types.ts",
5163
- "line": 33
5278
+ "line": 40
5164
5279
  },
5165
5280
  "name": "minifyIdentifiers",
5166
5281
  "optional": true,
@@ -5177,7 +5292,7 @@
5177
5292
  "immutable": true,
5178
5293
  "locationInModule": {
5179
5294
  "filename": "src/esbuild-types.ts",
5180
- "line": 35
5295
+ "line": 42
5181
5296
  },
5182
5297
  "name": "minifySyntax",
5183
5298
  "optional": true,
@@ -5194,7 +5309,7 @@
5194
5309
  "immutable": true,
5195
5310
  "locationInModule": {
5196
5311
  "filename": "src/esbuild-types.ts",
5197
- "line": 31
5312
+ "line": 38
5198
5313
  },
5199
5314
  "name": "minifyWhitespace",
5200
5315
  "optional": true,
@@ -5211,7 +5326,7 @@
5211
5326
  "immutable": true,
5212
5327
  "locationInModule": {
5213
5328
  "filename": "src/esbuild-types.ts",
5214
- "line": 53
5329
+ "line": 60
5215
5330
  },
5216
5331
  "name": "pure",
5217
5332
  "optional": true,
@@ -5224,6 +5339,23 @@
5224
5339
  }
5225
5340
  }
5226
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
+ },
5227
5359
  {
5228
5360
  "abstract": true,
5229
5361
  "docs": {
@@ -5232,7 +5364,7 @@
5232
5364
  "immutable": true,
5233
5365
  "locationInModule": {
5234
5366
  "filename": "src/esbuild-types.ts",
5235
- "line": 227
5367
+ "line": 236
5236
5368
  },
5237
5369
  "name": "sourcefile",
5238
5370
  "optional": true,
@@ -5340,7 +5472,7 @@
5340
5472
  "immutable": true,
5341
5473
  "locationInModule": {
5342
5474
  "filename": "src/esbuild-types.ts",
5343
- "line": 39
5475
+ "line": 46
5344
5476
  },
5345
5477
  "name": "treeShaking",
5346
5478
  "optional": true,
@@ -5356,7 +5488,7 @@
5356
5488
  "immutable": true,
5357
5489
  "locationInModule": {
5358
5490
  "filename": "src/esbuild-types.ts",
5359
- "line": 225
5491
+ "line": 234
5360
5492
  },
5361
5493
  "name": "tsconfigRaw",
5362
5494
  "optional": true,
@@ -5890,6 +6022,6 @@
5890
6022
  "symbolId": "src/source:TypeScriptSourceProps"
5891
6023
  }
5892
6024
  },
5893
- "version": "3.1.0",
5894
- "fingerprint": "ZkMHvmzI01EO87iXPfGbaGIoBdnKLK9/dPwUL77+4bw="
6025
+ "version": "3.2.0",
6026
+ "fingerprint": "/DRvqRIRg9HIljNa04kJv94E8EsBh+H3veGmZPvmuxE="
5895
6027
  }