An error occurs when using the inject option with karma-esbuild. Not sure if it is an issue with esbuild-css-modules-plugin or karma-esbuild but I figured I would start here since karma-esbuild was handling CSS files and CSS modules without the inject option set. Here is an example repository to reproduce the issue.
Can you provide any insight into what difference the inject: 'selector'option is making in the output produced by esbuild?
Thanks for publishing this module btw!
An error occurs when using the
injectoption withkarma-esbuild. Not sure if it is an issue withesbuild-css-modules-pluginorkarma-esbuildbut I figured I would start here sincekarma-esbuildwas handling CSS files and CSS modules without theinjectoption set. Here is an example repository to reproduce the issue.Can you provide any insight into what difference the
inject: 'selector'option is making in the output produced byesbuild?Thanks for publishing this module btw!