Skip to content
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

Closed
atompkins opened this issue Apr 23, 2020 · 4 comments
Closed

3.1.0 Extract gives empty file #271

atompkins opened this issue Apr 23, 2020 · 4 comments

Comments

@atompkins
Copy link

rollup 2.7.2
plugins: [postcssNesting(), cssnano()]

@BogdanDarius
Copy link

It is something introduced in 3.1.0.
It was pointed #264 (comment)

@SASUKE40
Copy link
Collaborator

Could you give some minimal example?

@daviddelusenet
Copy link

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';

@SASUKE40
Copy link
Collaborator

It is something introduced in 3.1.0.
It was pointed #264 (comment)

@atompkins @BogdanDarius @daviddelusenet
Reverted, use v3.1.1.

ItalyPaleAle added a commit to Statiko-dev/Statiko that referenced this issue Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants