Skip to content

Instantly share code, notes, and snippets.

@cutecycle
Last active June 17, 2017 04:42

Revisions

  1. cutecycle revised this gist Jun 17, 2017. 1 changed file with 13 additions and 9 deletions.
    22 changes: 13 additions & 9 deletions brunch-config.js
    Original file line number Diff line number Diff line change
    @@ -2,18 +2,22 @@
    exports.files = {
    javascripts: {
    joinTo: {
    'brunchtest.js': 'game.js'
    'vendor.js': /^(?!app)/, // Files that are not in `app` dir.
    'game-browser.js': /^app/
    }

    },
    stylesheets: {
    joinTo: 'app.css'
    }
    };
    exports.modules = {
    autoRequire: {
    "app/game-browser.js": ["initialize"]
    }
    };

    exports.paths = {
    public: 'public',
    watched: 'game.js'

    }

    exports.plugins = {
    babel: {presets: ['latest']}
    babel: {
    presets: ['latest']
    }
    };
  2. cutecycle revised this gist Jun 17, 2017. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions brunch-config.js
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,16 @@ exports.files = {
    joinTo: {
    'brunchtest.js': 'game.js'
    }

    },
    };

    exports.paths = {
    public: 'public',
    watched: 'game.js'

    }

    exports.plugins = {
    babel: {presets: ['latest']}
    };
  3. cutecycle created this gist Jun 17, 2017.
    12 changes: 12 additions & 0 deletions brunch-config.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    // See http://brunch.io for documentation.
    exports.files = {
    javascripts: {
    joinTo: {
    'brunchtest.js': 'game.js'
    }
    },
    };

    exports.plugins = {
    babel: {presets: ['latest']}
    };