Skip to content

Conversation

@ralucas
Copy link

@ralucas ralucas commented Jun 16, 2015

This pull request does the following:

  • Allows the user to not have to concatenate all the css into one file, but continue to have separate files
    • Use case here: may want to have separate files for dynamic loading, separation for certain media (i.e. print).

Added the following:

  • Options:
    • separateFiles -- boolean
    • prefix for files should separateFiles be chosen so as to not overwrite originals

Thanks and let me know.

Richard

@waleedsamy
Copy link

+1 , hope it merged

@AndyBean
Copy link

+1 I was just going to ask for this separate file support and see what I could do to help. Thanks. Our previous model under uncss was two separate files and I would love to keep that.

        uncss: {
            dist: {
                files: {
                    './dist/css/small.css': ['./server/views/mobile/uncss.html', './app/**/*.html'],
                    './dist/css/large.css': ['./server/views/desktop/uncss.html', './app/**/*.html']
                }
            },
            options: {
                uncssrc: '.uncssrc'
            }
        },

@DaniloThiago
Copy link

@mrourke Please merge this PR

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

Successfully merging this pull request may close these issues.

4 participants