Skip to content

minifier-postcss problems with react-virtualized/styles.css #54

@JanMP

Description

@JanMP

While trying to build an App that uses react-virtualized I run into the following problem:

Errors prevented bundling:                    
While minifying app stylesheet:               
packages/minifier-postcss/plugin/minify-css.js:228:40: Cannot read property 'getContentsAsString' of undefined
at packages/minifier-postcss/plugin/minify-css.js:228:40
at Array.map (<anonymous>)
at mergeCss (packages/minifier-postcss/plugin/minify-css.js:227:36)
at CssToolsMinifier.processFilesForBundle (packages/minifier-postcss/plugin/minify-css.js:88:18)

Removing the import of react-virtualized/styles.css fixes the problem.

This seems to be the same problem, the standard minified has had: meteor/meteor#10112

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions