Checkpoint commit - blips show up as a sidebar now instead of at the bottom
[tech-radar-editor.git] / brunch-config.js
1 exports.config = {
2 // See http://brunch.io/#documentation for docs.
3 files: {
4 javascripts: {
5 joinTo: "js/app.js"
6
7 // To use a separate vendor.js bundle, specify two files path
8 // http://brunch.io/docs/config#-files-
9 // joinTo: {
10 // "js/app.js": /^(web\/static\/js)/,
11 // "js/vendor.js": /^(web\/static\/vendor)|(deps)/
12 // }
13 //
14 // To change the order of concatenation of files, explicitly mention here
15 // order: {
16 // before: [
17 // "web/static/vendor/js/jquery-2.1.1.js",
18 // "web/static/vendor/js/bootstrap.min.js"
19 // ]
20 // }
21 },
22 stylesheets: {
23 joinTo: "css/app.css",
24 order: {
25 after: ["web/static/css/app.css"] // concat app.css last
26 }
27 },
28 templates: {
29 joinTo: "js/app.js"
30 }
31 },
32
33 conventions: {
34 // This option sets where we should place non-css and non-js assets in.
35 // By default, we set this to "/web/static/assets". Files in this directory
36 // will be copied to `paths.public`, which is "priv/static" by default.
37 assets: /^(web\/static\/assets)/
38 },
39
40 // Phoenix paths configuration
41 paths: {
42 // Dependencies and current project directories to watch
43 watched: [
44 "web/static",
45 "test/static"
46 ],
47
48 // Where to compile files to
49 public: "priv/static"
50 },
51
52 // Configure your plugins
53 plugins: {
54 babel: {
55 // Do not use ES6 compiler in vendor code
56 ignore: [/web\/static\/vendor/]
57 }
58 },
59
60 modules: {
61 autoRequire: {
62 "js/app.js": ["web/static/js/app"]
63 }
64 },
65
66 npm: {
67 enabled: true
68 }
69 };