purifycss / grunt-purifycss

Remove unused CSS with the grunt build tool
MIT License
163 stars 21 forks source link

Separate files #10

Open ralucas opened 9 years ago

ralucas commented 9 years ago

This pull request does the following:

Added the following:

Thanks and let me know.

Richard

waleedsamy commented 9 years ago

+1 , hope it merged

AndyBean commented 9 years ago

+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 commented 9 years ago

@mrourke Please merge this PR