Skip to content
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

Create new task css-split #43

Open
nimbupani opened this issue Jun 3, 2012 · 2 comments
Open

Create new task css-split #43

nimbupani opened this issue Jun 3, 2012 · 2 comments

Comments

@nimbupani
Copy link
Contributor

The ant build script had a task that would split the original css file into 4 or 5 separate css files and replace the style.css with @ imports from all of these newly separated files.

It would be nice to recreate this in this build script too, and avoid issues like http://stackoverflow.com/questions/9695304/concatenating-csss-to-style-css-in-h5bp

@mklabs
Copy link
Owner

mklabs commented Jun 3, 2012

Thanks for opening the issue. I'll see what I can do.

I wonder if it should be the default in what generate the init task, or if should be added as an additional prompt step in the wizard/init task.

Something like:

/* =========================================================================
   CSS App imports.

   These imports are inlined and minified by the build script. If
   you don't intend to use a build script, do not use @import
   statements.
   ========================================================================== */


@import url('h5bp.css');
@import url('app.css');

with h5bp.css probably split into the same 4 or 5 separate css files than the ant build script.

@nimbupani
Copy link
Contributor Author

Definitely not default. Additional prompt step would be great! The CSS file already has markers to help this split (/*=!=…).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants