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:
parent
e0239c44aa
commit
f52200ce26
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue