We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would expect the below code to copy fonts/Inter-Regular.woff2 into my configured public directory, and add it to the mix-manifest.json.
fonts/Inter-Regular.woff2
mix-manifest.json
@tailwind base; @tailwind components; @tailwind utilities; @layer base { @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff"); } }
It doesn't however - no font files are moved and no entry is added.
If I remove .tailwind() from my webpack-config, then the font file is moved and versioned correctly.
.tailwind()
My config:
let mix = require('laravel-mix') require('mix-tailwindcss') mix.js('docs/assets/js/index.js', 'assets/js') .setPublicPath('_site') .version() .sass('docs/assets/sass/index.scss', 'assets/css') .tailwind('./docs/tailwind.config.js') if (!mix.inProduction()) { mix.browserSync({ server: "_site", files: ["_site/**/*.html", "_site/assets/css/*.css", "_site/assets/js/*.js"] }) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would expect the below code to copy
fonts/Inter-Regular.woff2
into my configured public directory, and add it to themix-manifest.json
.It doesn't however - no font files are moved and no entry is added.
If I remove
.tailwind()
from my webpack-config, then the font file is moved and versioned correctly.My config:
The text was updated successfully, but these errors were encountered: