-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
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
3.1.0 Extract gives empty file #271
Comments
It is something introduced in 3.1.0. |
Could you give some minimal example? |
Experiencing the same issue. Config: postcss({
extract: true,
minimize: true,
plugins: [
// Drops the preceeding '~' (needed for Storybook webpack loaders) &
// removes intermediate dirs from font imports
postcssUrl({
filter: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
url: (asset) => `fonts/${asset.url.substr(1).split('/').pop()}`,
}),
],
}), My only CSS imports: import '../app/styles/fonts/exo2/exo2.css';
import '../app/styles/fonts/iconfont/iconfont.css';
import '../app/styles/fonts/opensans/opensans.css'; |
@atompkins @BogdanDarius @daviddelusenet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rollup 2.7.2
plugins: [postcssNesting(), cssnano()]
The text was updated successfully, but these errors were encountered: