mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03: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:
parent
e2f249e534
commit
053839df4c
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user