Meteor-Community-Packages / meteor-postcss

PostCSS for Meteor

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JanMP opened this issue · comments

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 (<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