Skip to content

Commit

Permalink
Do not minify assets/vendor.js due to bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Feb 24, 2016
1 parent f306a72 commit cc3f157
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,15 @@ module.exports = function(defaults) {
sourcemaps: {
enabled: !isProductionLikeBuild
},
minifyCSS: { enabled: isProductionLikeBuild },
minifyJS: { enabled: isProductionLikeBuild },
minifyCSS: {
enabled: isProductionLikeBuild
},
minifyJS: {
enabled: isProductionLikeBuild,
options: {
exclude: ["assets/vendor.js"]
}
},

tests: true,
hinting: process.env.EMBER_CLI_TEST_COMMAND || !isProductionLikeBuild,
Expand All @@ -52,6 +59,7 @@ module.exports = function(defaults) {
}
});


app.import('bower_components/ember/ember-template-compiler.js');
app.import('vendor/hint.css');
app.import('vendor/drags.js');
Expand Down

0 comments on commit cc3f157

Please sign in to comment.