-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove intermediary "browse_everything.scss" file
The one b-e scss file can/should instead be added directly to host apps application.scss. It is unclear to me what the motivation was for the previous intermediary file. However, if the host app independently had a bootstrap import in their application.scss (or elsewhere) already, the previous generated file would result in bootstrap CSS being included _twice_ in your sprockets-compiled CSS bundle. I think this was probably a common situation, and many apps were probably accidentally doing this. The generated intermediary file also made attempts to add support for bootstrap 4 as well as 3 much more complicated. Eliminating the intermediary file and it's generator also allows us to reduce overall code in the gem. The test app generator has been enhanced to add the necessary lines directly to application.scss in generated test app, and the README has been changed to explain new installation procedures -- even before this change, we were asking users to manually edit their application.scss, and that remains.
- Loading branch information
Showing
7 changed files
with
7 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...browse_everything/_browse_everything.scss → ...ssets/stylesheets/_browse_everything.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
lib/generators/browse_everything/templates/browse_everything.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters