Created
June 6, 2016 11:04
-
-
Save jakubpawlowicz/42d455e529720ec41a9f570dd2491d3b to your computer and use it in GitHub Desktop.
Brunch setup to output more than one CSS and JS file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
files: { | |
javascripts: { | |
joinTo: { | |
'js/app.js': [ | |
'web/static/js/vendor/**/*.js', | |
'web/static/js/app/*.js' | |
], | |
'js/dashboard.js': [ | |
'web/static/js/vendor/**/*.js', | |
'web/static/js/dashboard/*.js' | |
] | |
} | |
}, | |
stylesheets: { | |
joinTo: { | |
'css/app.css': [ | |
'web/static/css/vendor/**/*.css', | |
'web/static/css/shared/*.css', | |
'web/static/css/app/*.css' | |
], | |
'css/dashboard.css': [ | |
'web/static/css/vendor/**/*.css', | |
'web/static/css/shared/*.css', | |
'web/static/css/dashboard/*.css' | |
] | |
} | |
} | |
} | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment