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

Wrong code example #68

Closed
bobahvas opened this issue Jul 26, 2018 · 2 comments
Closed

Wrong code example #68

bobahvas opened this issue Jul 26, 2018 · 2 comments

Comments

@bobahvas
Copy link

Safe option was removed:

function parse(css, opts) {
    if (opts && opts.safe) {
        throw new Error('Option safe was removed. ' + 'Use parser: require("postcss-safe-parser")');
    }
    ...
}

Your example
cssProcessorOptions: { safe: true, discardComments: { removeAll: true } },

@ChiaJune
Copy link

have the exact same issue

@NMFR NMFR closed this as completed in 784677f Aug 1, 2018
@NMFR
Copy link
Owner

NMFR commented Aug 1, 2018

See #65

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

3 participants