Include babel polyfill when compiling client

no issue
- fixes issues when using `phantomjs` or other browsers that are not fully es6 compatible
This commit is contained in:
Kevin Ansfield 2016-02-04 12:49:53 +00:00
parent e2f249e534
commit 053839df4c

View File

@ -17,6 +17,10 @@ assetLocation = function (fileName) {
module.exports = function (defaults) { module.exports = function (defaults) {
var app = new EmberApp(defaults, { var app = new EmberApp(defaults, {
babel: {
optional: ['es6.spec.symbols'],
includePolyfill: true
},
outputPaths: { outputPaths: {
app: { app: {
js: assetLocation('ghost.js') js: assetLocation('ghost.js')