mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #6438 from kevinansfield/include-babel-polyfill
Include babel polyfill when compiling client
This commit is contained in:
commit
009b058753
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue