meteor-postcss icon indicating copy to clipboard operation
meteor-postcss copied to clipboard

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

Open JanMP opened this issue 3 years ago • 0 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 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: https://github.com/meteor/meteor/issues/10112

JanMP avatar Jan 18 '22 11:01 JanMP