0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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 e0239c44aa
commit f52200ce26

View file

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