Everything works fine without it, but adding injectGlobalPaths to the PostCSS config causes this error:
index-78323a20.js:2706 ReferenceError: Cannot access 'globalCss' before initialization
at my-component.entry.js:7 undefined
consoleError @ index-78323a20.js:2706
index-78323a20.js:1949 Uncaught (in promise) Error: Constructor for "my-component#undefined" was not found
at initializeComponent (index-78323a20.js:1949)
I am trying to use tailwindcss with PostCSS. The error can be reproduced with this branch. Adding the injectGlobalPaths always fails. Seems like some variables aren't defined on the client side.
Everything works fine without it, but adding
injectGlobalPathsto the PostCSS config causes this error:I am trying to use tailwindcss with PostCSS. The error can be reproduced with this branch. Adding the injectGlobalPaths always fails. Seems like some variables aren't defined on the client side.