Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Updated for meteor 1.3 / 1.4 closes #71 #72

Merged
merged 4 commits into from Aug 29, 2016
Merged

Updated for meteor 1.3 / 1.4 closes #71 #72

merged 4 commits into from Aug 29, 2016

Conversation

steve-ross
Copy link
Contributor

Tested on Meteor 1.4.0.1 Would like to know if anyone out there can give it a shot on 1.3
Also this includes the fix for Modulus production directory (closed previous PR). We have been using this forked version in production since Meteor 1.2 and are getting ready to move from 1.3 to 1.4.0.1

No error in the console:

image

Test email received:

image

// since meteor 1.3 we no longer need meteor hacks just use the npm version
if (minorVersion >= 3){
sass = require('node-sass');
} else if (!Package['chrisbutler:node-sass']) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be else if (Package['chrisbutler:node-sass'])?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dunno... again I'm on meteor 1.4 so if someone can test on a lower version it would be good. All I know is that this is working for us on 1.4. Tried to account for the other versions. BTW also working fine on galaxy.

@johanbrook
Copy link
Contributor

johanbrook commented Aug 22, 2016

Thanks! One problem is that this makes Sass non opt-in. I.e. the Npm.depends() in package.js creates a hard dependency on node-sass, which before was solved with weak: true for Chris Butler's node-sass Meteor package.

Is there a pro to rely on the node-sass npm package directly? I can easily fork Chris Butler's node package for Meteor and bump it for 1.4.

@johanbrook johanbrook merged commit fc6a41e into lookback:master Aug 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants