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
@import '@fontsource/raleway/variable.css';
module.exports = { plugins: [ require('postcss-import'), require('postcss-url')([ { filter: '**/*.woff2', url: (asset) => { return `node_modules/@fontsource/raleway/${asset.url.replace('./', '')}`; } } ] };
Running the post CSS Cli return output containing the following part:
@font-face { font-family: 'RalewayVariable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('./files/raleway-cyrillic-variable-wghtOnly-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
If I remove the filter, I get the expected output:
@font-face { font-family: 'RalewayVariable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('node_modules/@fontsource/raleway/files/raleway-cyrillic-variable-wghtOnly-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dependencies:
CSS Code
PostCSS config
Error
Running the post CSS Cli return output containing the following part:
If I remove the filter, I get the expected output:
The text was updated successfully, but these errors were encountered: