-
Notifications
You must be signed in to change notification settings - Fork 12k
why set additionalProperties:false when use esbuild? #30155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This behavior is intentional, it ensures an error occurs when unknown options are passed. In your case, you can explicitly copying over the options you want to expose. Out of curiosity why do you need to extend |
@alan-agius4 component: if i add loader option to angular.json show errors: |
You can use Additionally, new features will not be added to both browser-esbuild and the webpack based builders. |
@alan-agius4 |
Like |
Command
build
Description
"name": "@angular-devkit/build-angular",
"version": "17.3.8",
file: node_modules@angular-devkit\build-angular\src\builders\browser-esbuild\schema.json
the root property "additionalProperties": false
i'm writing a custom builder based on browser-esbuild with additional properties, but i find the additionalProperties is false, so it throws errors.
i wonder why angular set this property false, can it be true?
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: