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
If I import value from a TS module, which includes non-JS syntax (typedefs etc.), and use it within makeStyles, the vite build command will fail with an error like:
If I import value from a TS module, which includes non-JS syntax (typedefs etc.), and use it within
makeStyles
, thevite build
command will fail with an error like:It looks like the plugin attempts to parse the imported module as plain JS.
Using values from the same module as the
makeStyles
call will not cause a failure, nor will importing a value from a module which is plain JS syntax.Demo repo: https://github.com/tobz1000/griffel-627-repro
The text was updated successfully, but these errors were encountered: