Skip to content

It's totally not obvious how to make source maps work #81

@x-yuri

Description

@x-yuri

Wrong:

new OptimizeCssAssetsPlugin({cssProcessorOptions: {map: true}})

Correct:

new OptimizeCssAssetsPlugin({cssProcessorOptions: {map: {inline: false, annotations: true}}})

Since with optimize-css-assets-webpack-plugin map is supposed to be an object. More info here.

At least this much is worth mentioning in the README,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions