summaryrefslogtreecommitdiffstats
path: root/.babelrc
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-11-16 15:12:12 +0100
committerMatěj Cepl <mcepl@cepl.eu>2015-11-16 17:04:39 +0100
commitec301ed3cda4bd3a2976b78385cebdbd0b37883c (patch)
treed780f05c8982802cbd7189c69766b49985507f8f /.babelrc
parent8d8c0a86d5cf80e5e9a86947fe450d742f038b13 (diff)
downloadzalmy-ec301ed3cda4bd3a2976b78385cebdbd0b37883c.tar.gz
Upgrade to Babel 6 (and include module config into repo).
Diffstat (limited to '.babelrc')
-rw-r--r--.babelrc24
1 files changed, 24 insertions, 0 deletions
diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000..8e43e96
--- /dev/null
+++ b/.babelrc
@@ -0,0 +1,24 @@
+{
+ "plugins": [
+ "transform-es5-property-mutators",
+ "transform-es2015-arrow-functions",
+ "transform-es2015-block-scoped-functions",
+ "transform-es2015-block-scoping",
+ "transform-es2015-classes",
+ "transform-es2015-computed-properties",
+ "transform-es2015-constants",
+ "transform-es2015-destructuring",
+ "transform-es2015-for-of",
+ "transform-es2015-function-name",
+ "transform-es2015-literals",
+ "transform-es2015-object-super",
+ "transform-es2015-parameters",
+ "transform-es2015-shorthand-properties",
+ "transform-es2015-spread",
+ "transform-es2015-sticky-regex",
+ "transform-es2015-template-literals",
+ "transform-es2015-typeof-symbol",
+ "transform-es2015-unicode-regex",
+ "transform-es2015-modules-amd"
+ ]
+}