mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-09 04:18:44 +08:00
Add support for some ES proposals that we use (#43)
This commit is contained in:
@@ -15,6 +15,8 @@ module.exports = {
|
||||
'babel-preset-react'
|
||||
].map(require.resolve),
|
||||
plugins: [
|
||||
'babel-plugin-syntax-trailing-function-commas',
|
||||
'babel-plugin-transform-class-properties',
|
||||
'babel-plugin-transform-object-rest-spread'
|
||||
].map(require.resolve)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user