Skip to content

Instantly share code, notes, and snippets.

@paulcsmith paulcsmith/brunch-config.js Secret
Created Aug 8, 2017

Embed
What would you like to do?
exports.files = {
javascripts: {
joinTo: "js/app.js"
},
stylesheets: {
// Here is what I thought would make Brunch stop trying to import other files
joinTo: { "css/app.css": "css/app.css" }
},
templates: {
joinTo: "js/app.js"
}
}
exports.conventions = {
assets: /^(assets\/static)/
}
exports.paths = {
watched: [
"assets",
],
public: "public"
}
exports.plugins = {
babel: {
ignore: [/assets\/vendor/]
},
postcss: {
processors: [
require("precss"),
require("lost"),
require("postcss-cssnext")(),
]
}
}
exports.modules = {
autoRequire: {
"js/app.js": ["assets/js/app"]
}
}
exports.npm = {
enabled: true,
globals: {$: "jquery", jQuery: "jquery"},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.