chihab / dotenv-run

Seamlessly load environment variables. Supports cli, esbuild, rollup, vite, webpack, angular. ESM and Monorepos.
238 stars 17 forks source link

Add browser-esbuild builder #79

Closed Klaster1 closed 6 months ago

Klaster1 commented 7 months ago

Motivation: The application builder always creates browser dir in the build target directory, breaking the deployment pipeline. The official recommended way is to use the browser-esbuild, however, dotenv-run doesn't wrap that particular builder.

Suggestion: Wrap and expose the browser-esbuild builder in the same manner as the application builder.

Klaster1 commented 7 months ago

OK, I am stupid for not reading until the thread end. The desired result can be achieved with @angular-devkit/build-angular 17.1. Sorry for bothering you, close the issue if you feel like it.

chihab commented 6 months ago

Hey thanks for the feature request. browser-esbuild target is available in @ngx-env/builder@17.2.2