Skip to content

Instantly share code, notes, and snippets.

@nicohvi
Created September 2, 2016 09:46
Show Gist options
  • Save nicohvi/3b253b1e97174f911c682236092bd2e4 to your computer and use it in GitHub Desktop.
Save nicohvi/3b253b1e97174f911c682236092bd2e4 to your computer and use it in GitHub Desktop.
exports.config = {
files: {
javascripts: {
joinTo: "js/app.js"
},
stylesheets: {
joinTo: "css/app.css",
order: {
before:
[
"web/static/css/util/fonts.scss",
"web/static/css/util/reset.scss"
]
}
}
},
conventions: {
assets: /^(web\/static\/assets)/
},
paths: {
watched: [
"web/static",
"test/static"
],
public: "priv/static"
},
plugins: {
babel: {
ignore: [/web\/static\/vendor/]
}
},
modules: {
autoRequire: {
"js/app.js": ["web/static/js/app"]
}
},
npm: {
enabled: true,
whitelist: ["phoenix", "phoenix_html"]
}
};
{
"repository": {},
"dependencies": {
"babel-preset-es2015": "^6.14.0",
"baconjs": "~0.7.84",
"jquery": "file:web/static/vendor/jquery"
},
"devDependencies": {
"babel-brunch": "~6.0.0",
"brunch": "~2.8.0",
"clean-css-brunch": "~1.8.0",
"css-brunch": "~1.7.0",
"javascript-brunch": "~1.8.0",
"phoenix": "file:deps/phoenix",
"phoenix_html": "file:deps/phoenix_html",
"sass-brunch": "~2.6.0",
"uglify-js-brunch": "~1.7.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment