Meteor-Community-Packages / meteor-postcss

PostCSS for Meteor

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postcss is digging into Meteor packages and yielding errors

ffxsam opened this issue · comments

Is there some way to blacklist Meteor packages? It doesn't like what babrahams:constellation is doing.

   While minifying app stylesheet:
   Undefined variable $c1

   Css Syntax Error.

   Undefined variable $c1
   background-image: -o-linear-gradient(#000, #000);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='$c1',
   color: rgba(255, 255, 255, 0.6);

Hmmm, this is because of not standard CSS usage here - filter hack for MS. Actually this is a proper behaviour of postcss-simple-vars. But maybe you're right, maybe we should have some kind of packages filter. I'll try to look into it.

Ok, I think it should work now. Added excludedPackages option. Here are the docs about it:

You just need to exclude constellation:console package.

Did you push a new version to Atmosphere? I'm not seeing an updated package.

Yes, the new version is 1.1.0 and it is even displayed here: :) so it should work.

The demo project uses it already.

Oops! My mistake. Testing this out now..

Works like a charm. Thanks for this! :)

Hi, is there any way to note an excludedPackages in the non-1.3 version?
Getting this error on an app I haven't had time to update to new meteor.


@maddijoyce I'm afraid not :/ Updating to Meteor 1.3 shouldn't be very hard. You don't need to use new architecture with imports in Meteor 1.3