-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #9412 - Import normalize-scss with its full path #9449
Conversation
Import normalize-scss with its full path instead of including the assets path in gulp-sass. Fix foundation#9412
Poke @kball |
This doesn't work with foundation as a NPM dependency as |
so... I'm a little confused about this because
|
So the default behaviour for foundation-sites installed as a dependency would not work unless you introduced a version conflict for |
Partially fix normalize-scss import where foundation-sites was imported from npm.
ad8dbb3
to
8be4595
Compare
When Foundation is used in a Sass project via NPM or Bower, it is by importing We have to install our Sass dependencies (like @import "_vendor/normalize-scss/sass/normalize"; When the package is published, the @hugogiraudel @kball What do you think ? |
Previous PR: foundation#9449 Changes: - Revert foundation#9430 - Make `normalize-scss` a dev dependency. - Copy Sass dependencies to `/_vendor/scss` and import them in Sass from there. Why not importing the Sass dependencies as real dependencies and from `node_modules`: we cannot assume the path to our real dependencies. Old npm versions store them in our `node_modules` folder, while newer versions store them in the `node_modules` folder of the root project.
I close this PR. See: #9458 |
That seems like a valid idea. |
@hugogiraudel Did you seen the PR ? |
Import normalize-scss with its full path instead of including the assets path in gulp-sass.
Fix #9412