You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is about the @angular-builders/custom-esbuild
Is your feature request related to a problem? Please describe.
I’m trying to use the esbuilder to build a angular / electron application as described in maximegris/angular-electron#810, the problem is when using node native modules like fs for example esbuild needs te platform to be set to node instead of browser (https://esbuild.github.io/getting-started/#bundling-for-node). As far as I can tell this is currently not possible yes change?
Describe the solution you'd like
I think it would make sense to be able to set the platform along with the other builder options in the angular.json
Describe alternatives you've considered
I did also search for alternative solutions and tried a lot of things without success, like changing the platform inside a plugin or adding the required node modules as externalDependencies.
The text was updated successfully, but these errors were encountered:
This is about the @angular-builders/custom-esbuild
Is your feature request related to a problem? Please describe.
I’m trying to use the esbuilder to build a angular / electron application as described in maximegris/angular-electron#810, the problem is when using node native modules like fs for example esbuild needs te platform to be set to node instead of browser (https://esbuild.github.io/getting-started/#bundling-for-node). As far as I can tell this is currently not possible yes change?
Describe the solution you'd like
I think it would make sense to be able to set the platform along with the other builder options in the angular.json
Describe alternatives you've considered
I did also search for alternative solutions and tried a lot of things without success, like changing the platform inside a plugin or adding the required node modules as externalDependencies.
The text was updated successfully, but these errors were encountered: