1
0
Fork 0
masonry-static/brunch-config.js

44 lines
745 B
JavaScript
Raw Normal View History

2017-12-07 09:40:35 +02:00
// See http://brunch.io for documentation.
exports.files = {
javascripts: {
joinTo: {
'vendor.js': /^(?!app)/, // Files that are not in `app` dir.
'app.js': /^app/
2017-12-07 11:21:42 +02:00
},
entryPoints: {
'main.js': 'app.js'
2017-12-07 09:40:35 +02:00
}
},
stylesheets: {joinTo: 'app.css'}
};
2017-12-07 11:21:42 +02:00
exports.modules = {
nameCleaner: path => path.replace(/^app\//, ''),
autoRequire: {
'app.js': ['main.js']
}
}
2017-12-07 09:40:35 +02:00
exports.plugins = {
2017-12-10 18:34:35 +02:00
babel: {
ignore: [
/^node_modules/,
],
presets: [['env', {
exclude: [ 'transform-regenerator' ],
}]]
2017-12-10 18:13:28 +02:00
},
2017-12-10 17:03:49 +02:00
uglify: {
2017-12-10 18:48:53 +02:00
mangle: {
},
compress: {
}
2017-12-10 17:03:49 +02:00
},
postcss: {
processors: [
require('autoprefixer')(['last 8 versions']),
require('csswring')()
]
}
2017-12-07 09:40:35 +02:00
};