Skip to content

Instantly share code, notes, and snippets.

@vanrez-nez
Created December 15, 2017 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanrez-nez/afbed8b74ce2d7c78beac0f8265515ce to your computer and use it in GitHub Desktop.
Save vanrez-nez/afbed8b74ce2d7c78beac0f8265515ce to your computer and use it in GitHub Desktop.
Brunch Setup
module.exports = {
paths: {
watched: ['resources']
},
files: {
javascripts: { joinTo: {
'scripts/app.js': /^resources/,
'scripts/vendor.js': /^node_modules/
} },
stylesheets: { joinTo: {
'styles/app.css': /^resources/
} },
},
plugins: {
babel: {presets: ['latest']},
stylus: {},
postcss: {
processors: [
require('lost')(),
require('autoprefixer')(['last 8 versions']),
require('csswring')()
]
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment