-
Notifications
You must be signed in to change notification settings - Fork 95
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
[sass] Canonical way to generate the ".min.css" file? #330
Comments
No canonical way, usually the upstream provides it.
Just use whatever minimizer you like :-)
…On Sat, Apr 18, 2020 at 10:44 PM Thomas Mansencal ***@***.***> wrote:
Hi,
I'm trying the *sass* plugin with bootstrap Scss files and I would like
to what it the canonical way to generate the *bootstrap.min.css* file if
any.
In my targets file, I can put bootstrap.scss and it generates correctly
assets/css/bootstrap.css, however, I cannot use bootstrap.min.css:
(colour-science.org-USMIstgQ-py3.7) Kali:colour-science.org kelsolaar$ nikola build
Scanning posts..........done!
ERROR: Two different tasks can't have a common target.'output/assets/css/bootstrap.min.css' is a target for copy_assets:output/assets/css/bootstrap.min.css and build_sass:output/assets/css/bootstrap.min.css.
Cheers,
Thomas
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#330>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAMKYH27ZSF4IPOOWIHJDRNJJNNANCNFSM4MLS2MPA>
.
|
All good and thanks Roberto! I was just checking in case I was missing something obvious! |
Just |
To generate the css files, I only needed sass and the scss directory. |
Yes, but those files are not fully compatible with all browsers. The missing step is running autoprefixer. |
Good to know, given everything seeming LGTM on Chrome, Firefox, Safari and IE, I don't think I will bother introducing an extra step. |
Hi,
I'm trying the sass plugin with bootstrap Scss files and I would like to what it the canonical way to generate the bootstrap.min.css file if any.
In my
targets
file, I can putbootstrap.scss
and it generates correctlyassets/css/bootstrap.css
, however, I cannot usebootstrap.min.css
:Cheers,
Thomas
The text was updated successfully, but these errors were encountered: