mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Merge pull request #6438 from kevinansfield/include-babel-polyfill
Include babel polyfill when compiling client
This commit is contained in:
commit
df6f7c7b56
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