GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Since we're no longer educating in the main project with the comments, we can move to something that's more obviously designed as a hook for the build process. Part of me just wants to use something obvious:
The rest of me wants ascii art:
Anyone interested in how this is going to work should look at
In addition to a new token, one that isn't quite as succinct as I would like, we're going to have the ability to wrap any set of tags in comments and pull out an attribute from them
right now all it supports is:
<!-- //-beg- concat_js -->
<!-- //-end- concat_js -->
but... we'll be able to do something like:
<!-- //-beg- concat_css -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<!-- //-end- concat_css -->
and automatically concatenate CSS files in the same way we're doing the JS right now.
Anything new here?
Yes, as you can see the issue is closed. The documentation is here: https://github.com/h5bp/ant-build-script/wiki/How-to-bypass-the-automatic-script-concatenation
Sorry, my question is about css concatenation, i cant find documentation for that.
By default i got 2 css files:
normalize.css (any easy publish deactivation possible (i can not reference in site head, but ant build still copy to publish dir), for people like me using another normalize)
main.css -> at the moment i @import my custom css here, but your example above suggests that i could be possible wihtout importing, but directly reference more css like the main.css in the head element.
Thanks a lot
Yes I'm tracking that in #138