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
Add a scss file that contains only copyright banner for cherry-picking imports #35205
Comments
@ntkme comment unusable files( https://getbootstrap.com/docs/5.1/getting-started/contribute/ |
@WinterSilence I'm directly importing files from |
@ntkme than import/run https://github.com/twbs/bootstrap/blob/main/build/banner.js too |
@WinterSilence That won't show a copyright comment in the result css file. Also this is for a pure CSS project, there is no JS bundler anyways. |
@ntkme that's script generate summary comment - you can use it anywhere. "pure CSS project" still use python/ruby for compile scss |
@WinterSilence You cannot import a JS file when scss are compiled using ruby's |
@ntkme I'm not against your suggestion. I'm talking about how to get a similar result now. |
Done with #36178. |
Prerequisites
Proposal
Add a
banner.scss
(or maybe name itcopyright.scss
orlicense.scss
to avoid confusion) that only contains the copyright information for cherry-picking imports with copyright information.Motivation and context
I have projects that are cherry-picking a only few scss files from bootstrap to be imported.
I want to properly include the bootstrap copyright header but there is no easy way to do so right now other than manual copy-paste the copyright banner.
The text was updated successfully, but these errors were encountered: