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
The plugin works fine when I have a singleindex.module.css file in my project with setting inject: true
But as soon as I add two or more css modules in my project, my build fails and I get this error: Uncaught ReferenceError: __content_placeholder__ is not defined
When I look at output js file, I see this:
// esbuild-css-modules-plugin-ns-js::src/index.module.css:injector.js
var content2 = __content_placeholder__;
var digest2 = __digest_placeholder__;
which explains why I get the error. But I am not sure how to fix it.
I have created a public repository with two branches to easily replicate the behaviour.