philomena/assets/brunch-config.js
2019-08-17 20:43:44 -04:00

41 lines
967 B
JavaScript

module.exports = {
files: {
javascripts: {joinTo: 'js/app.js'},
stylesheets: {joinTo: 'css/app.css'}
},
plugins: {
rollup: {
buble: {
transforms: { dangerousForOf: true }
}
},
sass: {
mode: 'native',
options: {
includePaths: ['css', 'node_modules/font-awesome/scss']
}
},
copycat: {
fonts: ['node_modules/font-awesome/fonts'],
verbose: false,
onlyChanged: true
}
},
conventions: {
// This option sets where we should place non-css and non-js assets in.
// By default, we set this to "/assets/static". Files in this directory
// will be copied to `paths.public`, which is "priv/static" by default.
assets: /static\//
},
paths: {
watched: ['css/themes/default.scss', 'js/app.js', 'vendor', 'fonts', 'static'],
public: '../priv/static'
},
modules: {
definition: false,
wrapper: false
},
npm: {
enabled: false
}
};