Is your feature request related to a problem? Please describe.
This is a feature request.
Describe the solution you'd like
I'd love to be able to access the configuration string (like in custom-webpack with the targetOptions.configuration) in the esbuild plugins and indexHtmlTransformer (i.e.: the --configuration flag).
Describe alternatives you've considered
The only alternative that I see is overriding the plugins and indexHtmlTransformer for each configuration (i.e.: having a plugin-development.ts, plugin-production.ts, etc).
Additional context
I guess this is related to #1661 in some way.
Is your feature request related to a problem? Please describe.
This is a feature request.
Describe the solution you'd like
I'd love to be able to access the
configurationstring (like incustom-webpackwith thetargetOptions.configuration) in the esbuildpluginsandindexHtmlTransformer(i.e.: the--configurationflag).Describe alternatives you've considered
The only alternative that I see is overriding the
pluginsandindexHtmlTransformerfor each configuration (i.e.: having aplugin-development.ts,plugin-production.ts, etc).Additional context
I guess this is related to #1661 in some way.