Open waldemar-p opened 1 year ago
Howdy,
I wasn't able to reproduce the bug. Are you including @tailwind components;
in your module /ui/src/index.scss
file?
Cheers
Hello,
Yes, I am including them.
So after following my steps the desired class is added to the bundle? Now I am confused.
Sorry, not sure. But I'm glad it is working! I'm going to close this issue. Reach out if you have any other problem.
Sorry, I think we misunderstood each other. I thought it was working for you and was confused because it is not for me. 😅
@waldemar-p I think this will move faster if you can share a simple project based on our a3-boilerplate that demonstrates the issue.
To Reproduce
Step by step instructions to reproduce the behavior:
postcss.config.js
and include tailwindcss there) and init to havetailwind.config.js
2.1npm i -D tailwindcss && npx tailwindcss init --postcss
tailwind.config.js
add a plugin 4.1 via npm
4.2 or manually
To be safe, add class(es) to safelist via
APOS_DEV=1 npm run dev
http://localhost:3000/apos-frontend/default/apos-bundle.css
i-am-a-class
Expected behavior
The class
i-am-a-class
to be present in the bundled CSS file.Describe the bug
The class
i-am-a-class
is missing from the bundled CSS file.Details
Version of Node.js: 14.18.0
Server Operating System: I am running this on my dev laptop with MacOS Monitery 12.6.