Skip to content

Commit

Permalink
[TMP] Fix Sass dependencies import for Bower
Browse files Browse the repository at this point in the history
⚠️ **This is a temporary solution**

Unlike NPM, Bower does not have its own registry and uses the Github
repository. Like `js, `sass` and `dist`, all the files required by
Bower must be published on Git.

Changes:
- Pin the Sass dependencies versions and update `yarn.lock`
- Move only the require files to `/vendor`
- Publish the Sass dependencies in `vendor/` on git.
  • Loading branch information
ncoden committed Dec 7, 2016
1 parent 97841fc commit a0cf307
Show file tree
Hide file tree
Showing 17 changed files with 1,000 additions and 19 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
.sass-cache/*
.yardoc
_build
_vendor
.customizer

bower_components
Expand Down
3 changes: 3 additions & 0 deletions _vendor/normalize-scss/sass/_normalize.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import 'normalize/variables';
@import 'normalize/vertical-rhythm';
@import 'normalize/normalize-mixin';
11 changes: 11 additions & 0 deletions _vendor/normalize-scss/sass/normalize/_import-now.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Import Now
//
// If you import this module directly, it will immediately output all the CSS
// needed to normalize default HTML elements across all browsers.
//
// ```
// @import "normalize/import-now";
// ```

@import '../normalize';
@include normalize();
Loading

0 comments on commit a0cf307

Please sign in to comment.