tailwind-bundle
tailwind-bundle copied to clipboard
Fail when using relative URL
Hello,
Thanks for this bundle, but I have many issues
Custom css not used at all
@tailwind base;
@tailwind components;
@tailwind utilities;
@import './test.css';
test.css is not used at all
Relative URL does not work
@import './base/font.css';
and
@font-face {
font-family: 'Noto Serif';
font-style: normal;
font-weight: 400 700;
src: url('../../fonts/noto-serif-vf.woff2') format('woff2-variations');
font-display: swap;
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400 700;
src: url('../../fonts/open-sans-vf.woff2') format('woff2-variations');
font-display: swap;
}
It produces a 500. I also tested with ../ instead of ../../, but I got another error
I pushed a repository, with both reproducer. Just adapt app1.css to app2.css in the configurations
Hmm, I don't think there's anything we can do in the bundle about this. I think it would be more asset-mapper or maybe tailwind itself?