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
Is your feature request related to a problem? Please describe.
I'm trying to add a esbuild plugin to modify the paths resolved for images in global scss files
But if i understand this correctly then the angular builder has multiple esbuild instances running for different contexts, and the current supported plugins are used as "codePlugins" for the instance that bundles the typescript files only.
Describe the solution you'd like
Would be nice if it was possible to provide plugins for the other esbuild contexts as well. I'm guessing there are other contexts then just global styles as well it could be useful for, i didn't investigate what all the different instances was used for.
Describe alternatives you've considered
Not sure there are alternatives for esbuild, using the webpack builder will probably work.
The text was updated successfully, but these errors were encountered:
I might be misunderstanding, but I'm not certain how this question is connected to custom-esbuild, as we solely offer the API over Angular's public API. We don't provide any custom functionality or extensions beyond what Angular devkit exposes publicly.
Is your feature request related to a problem? Please describe.
I'm trying to add a esbuild plugin to modify the paths resolved for images in global scss files
build.onResolve({ filter: /\.png$/ }, args => {
etcBut if i understand this correctly then the angular builder has multiple esbuild instances running for different contexts, and the current supported plugins are used as "codePlugins" for the instance that bundles the typescript files only.
Describe the solution you'd like
Would be nice if it was possible to provide plugins for the other esbuild contexts as well. I'm guessing there are other contexts then just global styles as well it could be useful for, i didn't investigate what all the different instances was used for.
Describe alternatives you've considered
Not sure there are alternatives for esbuild, using the webpack builder will probably work.
The text was updated successfully, but these errors were encountered: