Closed Engazan closed 6 months ago
See #29 for the stylex.inject
stuff, will close this one since the other problem is related to ESM/CommonJS. This plugin is only available as an ESM module, so you need "type": "module"
or using mts
or mjs
extension for the vite config file.
Hi, i rlly wanted to try stylex for my projects but i cant figure out whats wrong, so i think something is wrong with this plugin cuz when i switch out from
vite
it just worksmy vite plugin config file
my vite packages:
error:
fixes like adding
"type": "module"
or renamingvite.config
just brings another problems likestylex.inject is not a function
also i found -> https://github.com/facebook/stylex/issues/47is there any working solution ?, thanks