Created
February 16, 2018 10:36
-
-
Save A6Brgeuka/58de89bb93a08bc90302e8138e1464fb to your computer and use it in GitHub Desktop.
Ember rest spread
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
parserOptions: { | |
ecmaVersion: 2017, | |
sourceType: 'module', | |
ecmaFeatures: { | |
'experimentalObjectRestSpread': true, | |
} | |
}, | |
extends: 'eslint:recommended', | |
env: { | |
browser: true | |
}, | |
rules: { | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let app = new EmberApp(defaults, { | |
babel: { | |
plugins: [ | |
'transform-object-rest-spread', | |
] | |
} | |
// Add options here | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"babel-plugin-transform-object-rest-spread": "^6.23.0", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment