Blackmeow

Results 7 comments of Blackmeow

Thank you, maybe I have solved the above error, but there is another problem I have, I am using .env variables and the current browser cannot read it 'Uncaught ReferenceError:...

Really, I think environment variables should be bind, and seems like my tailwindcss is not bundled

I use Tailwind to css, and when I build and use it but my tailwind classes don't work, Do you have a solution for that ? ![image](https://github.com/developit/microbundle/assets/92104643/1ae08a04-26ed-4dfa-bcc1-0eac78421bdf)

It's hard for you if I keep asking around, this is my repo and everything I configure is here, you can see how I'm doing https://github.com/yenle16/demo__signupform

> Indeed. `process` too only exists in Node, so if you want Microbundle to swap our your variables, you need to tell it to do so with the `--define` flag....

` "dev": "microbundle watch --no-sourcemap --external none --define process.env.PREACT_APP_API_URL='xxx',process.env.PREACT_APP_DOMAIN_URL ='yyy'",` i tried it before with this script, but it didn't work