aboutsummaryrefslogtreecommitdiffstats
path: root/web/conf.js
blob: 7c5209738dfa6171357cbdb568bca493e13cc778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
var conf = {
    src: "src/",
    dist: "../libmproxy/web",
    static: "../libmproxy/web/static",
    js: {
        // Don't package these in the vendor distribution
        vendor_excludes: [
            "bootstrap" // We only use Bootstrap's CSS.
        ],
        // Package these as well as the dependencies
        vendor_includes: [
            "react/addons"
        ],
        app: 'src/js/app.js',
        eslint: ["src/js/**/*.js", "!src/js/filt/filt.js"]
    },
    css: {
        vendor: ["src/css/vendor.less"],
        app: ["src/css/app.less"]
    },
    copy: [
        "src/images/**", "src/fonts/fontawesome-webfont.*"
    ],
    templates: [
        "src/templates/*"
    ],
    peg: ["src/js/filt/filt.peg"]
};

module.exports = conf;