Permalink
Browse files

update brunch to use bower's installed components

  • Loading branch information...
EC2 Default User
EC2 Default User committed Aug 4, 2015
1 parent 07c8861 commit 1b3c6d9919d9da46289cb888669e6d7713a1a107
Showing with 8 additions and 17 deletions.
  1. +7 −16 brunch-config.js
  2. +1 −1 config/dev.exs
View
@@ -2,22 +2,13 @@ exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: 'js/app.js'
// To use a separate vendor.js bundle, specify two files path
// https://github.com/brunch/brunch/blob/stable/docs/config.md#files
// joinTo: {
// 'js/app.js': /^(web\/static\/js)/,
// 'js/vendor.js': /^(web\/static\/vendor)/
// }
//
// To change the order of concatenation of files, explictly mention here
// https://github.com/brunch/brunch/tree/master/docs#concatenation
// order: {
// before: [
// 'web/static/vendor/js/jquery-2.1.1.js',
// 'web/static/vendor/js/bootstrap.min.js'
// ]
// }
joinTo: 'js/app.js',
order: {
before: [
/^bower_components/,
/^web\/static\/vendor/
]
}
},
stylesheets: {
joinTo: 'css/app.css'
View
@@ -7,7 +7,7 @@ use Mix.Config
# watchers to your application. For example, we use it
# with brunch.io to recompile .js and .css sources.
config :reflux_eventbroker_react_phoenix_elixir, RefluxEventbrokerReactPhoenixElixir.Endpoint,
http: [port: 4000],
http: [port: 7777],
debug_errors: true,
code_reloader: true,
cache_static_lookup: false,

0 comments on commit 1b3c6d9

Please sign in to comment.