mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 07:11:53 +00:00
69 lines
1.4 KiB
JavaScript
69 lines
1.4 KiB
JavaScript
exports.config = {
|
|
// See http://brunch.io/#documentation for docs.
|
|
files: {
|
|
javascripts: {
|
|
joinTo: {
|
|
"app.js": /^(app)/,
|
|
"vendor.js": /^(vendor|node_modules)/
|
|
}
|
|
},
|
|
stylesheets: {
|
|
joinTo: {
|
|
"app.css": /^(app|vendor|node_modules)/
|
|
}
|
|
},
|
|
templates: {
|
|
joinTo: "app.js"
|
|
}
|
|
},
|
|
|
|
conventions: {
|
|
// This option sets where we should place non-css and non-js assets in.
|
|
assets: /^app\/images/
|
|
},
|
|
|
|
paths: {
|
|
// Dependencies and current project directories to watch
|
|
watched: [
|
|
"app/javascripts",
|
|
"app/stylesheets",
|
|
"vendor"
|
|
]
|
|
},
|
|
|
|
// Configure your plugins
|
|
plugins: {
|
|
babel: {
|
|
presets: ["es2015", "react"],
|
|
// Do not use ES6 compiler in vendor code
|
|
ignore: [/vendor/]
|
|
}
|
|
},
|
|
|
|
// Default behaviour.
|
|
// modules: {
|
|
// autoRequire: {
|
|
// 'app.js': ['app']
|
|
// }
|
|
// },
|
|
|
|
npm: {
|
|
enabled: true,
|
|
styles: {
|
|
"bootstrap-solarized": ["bootstrap-solarized-dark.css"],
|
|
"toastr": ["build/toastr.min.css"]
|
|
},
|
|
whitelist: ["react", "react-dom", "jquery", "lodash",
|
|
"react-autolink", "react-dom", "react-emoji", "howler",
|
|
"bootstrap", "perfect-scrollbar", "moment", "toastr",
|
|
"socket.io-client"],
|
|
globals: {
|
|
"_": "lodash",
|
|
"jQuery": "jquery",
|
|
"$": "jquery",
|
|
"toastr": "toastr"
|
|
}
|
|
},
|
|
|
|
notifications: true
|
|
};
|