Skip to content

Commit

Permalink
Use relative paths for sass includes
Browse files Browse the repository at this point in the history
This makes it possible to use the sass from webpacker without having to
customize the includePaths. e.g:

```js
const sassLoader = environment.loaders.get('sass')
sassLoader.use.find(item => item.loader == "sass-loader").options.includePaths = [
  'node_modules/blacklight-frontend/app/assets/stylesheets'
];
```
  • Loading branch information
jcoyne committed Jul 13, 2018
1 parent d46e933 commit cd8ee88
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions app/assets/stylesheets/blacklight/_blacklight_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
not to use the Blacklight CSS file at all in your local app. */

@import "mixins";
@import 'blacklight/blacklight_defaults';
@import "blacklight/bootstrap_overrides";
@import "blacklight/layout";
@import "blacklight/header";
@import "blacklight/constraints";
@import "blacklight/controls";
@import "blacklight/search_form";
@import "blacklight/search_results";
@import "blacklight/pagination";
@import "blacklight/group";
@import "blacklight/bookmark";
@import "blacklight/balanced_list";
@import "blacklight/facets";
@import "blacklight/search_history";
@import "blacklight/modal";
@import "blacklight/twitter_typeahead";
@import "blacklight/icons";
@import 'blacklight_defaults';
@import "bootstrap_overrides";
@import "layout";
@import "header";
@import "constraints";
@import "controls";
@import "search_form";
@import "search_results";
@import "pagination";
@import "group";
@import "bookmark";
@import "balanced_list";
@import "facets";
@import "search_history";
@import "modal";
@import "twitter_typeahead";
@import "icons";
2 changes: 1 addition & 1 deletion app/assets/stylesheets/blacklight/blacklight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

/* This is the default blacklight theme. */

@import 'blacklight/blacklight_base';
@import 'blacklight_base';

0 comments on commit cd8ee88

Please sign in to comment.