mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +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) {
|
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user