Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

enabling prototype classes break sass compilation #82

Open
swi2012 opened this issue Aug 2, 2017 · 5 comments
Open

enabling prototype classes break sass compilation #82

swi2012 opened this issue Aug 2, 2017 · 5 comments

Comments

@swi2012
Copy link

swi2012 commented Aug 2, 2017

if i set in my app.sass
@include foundation-everything($prototype: true);
then i get error on compilation
The Broccoli Plugin: [BroccoliMergeTrees] failed with: Error: You may not @extend an outer selector from within @media. You may only @extend selectors within the same directive. From "@extend h1" on line 15 of tmp/sass_compiler-input_base_path-E59EwuML.tmp/1/foundation-sites/prototype/_typescale.scss
[email protected]

@GCheung55
Copy link
Collaborator

I'm wondering if this is a bug in Foundation. What version of Foundation do you have installed?

@swi2012
Copy link
Author

swi2012 commented Aug 2, 2017

I have foundation 6.4.1. Same version i have for my other project (just standart foundation cli project that build sass to css) and there is builded perfectly. As i understand in both sass compiled with node-sass.
The main difference i see is version of node-sass. Ember use lates 4.5.3, but foundation cli project use node-sass 3.13.1

@swi2012
Copy link
Author

swi2012 commented Aug 2, 2017

Indeed. When i set "node-sass": "^3.13.0" in package.json of broccoli-sass-source-maps and make npm install (to get 3.13 version of node-sass) it' compiled ok. So, what lib to be blame (post bug report to)? node-sass?

@GCheung55
Copy link
Collaborator

I believe this is an issue in Foundation. See foundation/foundation-sites#10417.

The issue should be fixed once [email protected] is released, but we should keep this issue open until then.

@IamManchanda
Copy link

6.4.2 is released now... Please check thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants