Skip to content

Commit

Permalink
add ember-cli-fastboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuba Niechciał committed Jun 9, 2017
1 parent 70e2c90 commit c4cbada
Show file tree
Hide file tree
Showing 3 changed files with 5,525 additions and 14 deletions.
19 changes: 5 additions & 14 deletions ember-cli-build.js
@@ -1,23 +1,14 @@
/* eslint-env node */
const EmberApp = require('ember-cli/lib/broccoli/ember-app');

const env = EmberApp.env();

module.exports = function(defaults) {
var app = new EmberApp(defaults, {
// Add options here
fingerprint: {
generateAssetMap: env === 'production',
},
});

// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.

return app.toTree();
};
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -22,6 +22,7 @@
"ember-cli-babel": "^5.1.7",
"ember-cli-dependency-checker": "^1.3.0",
"ember-cli-eslint": "^3.0.0",
"ember-cli-fastboot": "^1.0.0-rc.3",
"ember-cli-htmlbars": "^1.1.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.6",
"ember-cli-inject-live-reload": "^1.4.1",
Expand Down

0 comments on commit c4cbada

Please sign in to comment.