aboutsummaryrefslogtreecommitdiffstats
path: root/.babelrc
diff options
context:
space:
mode:
authorGuillaume2017-10-10 12:12:00 +0200
committerGuillaume2017-10-10 12:12:00 +0200
commit0925adcbc4aa4d8dc0b9984fb57494bb6de18c33 (patch)
tree95dc4f03a66eaf5345c4208a2a8d3598b70f22ff /.babelrc
parent91e85a1b974eb0bfb42df8c896570e0a690d11f1 (diff)
downloadchouette-core-0925adcbc4aa4d8dc0b9984fb57494bb6de18c33.tar.bz2
fix react version for build, add Procfile for run with manager (ex: foreman)
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc29
1 files changed, 11 insertions, 18 deletions
diff --git a/.babelrc b/.babelrc
index 6d4eeeba6..efa322372 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,26 +1,19 @@
{
"presets": [
- [
- "env",
- {
- "modules": false,
- "targets": {
- "browsers": "> 1%",
- "uglify": false
- },
- "useBuiltIns": true
- }
- ],
- "react"
+ ["env", {
+ "modules": false,
+ "targets": {
+ "browsers": "> 1%",
+ "uglify": true
+ },
+ "useBuiltIns": true
+ }],
+ "react"
],
+
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
- [
- "transform-class-properties",
- {
- "spec": true
- }
- ]
+ ["transform-class-properties", { "spec": true }]
]
}