aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorHenry Zhu <hi@henryzoo.com>2017-09-25 13:02:19 -0400
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2017-09-25 19:02:19 +0200
commit90bac40a5123038c94a6fd8c1fde7fbe758b08c7 (patch)
treeb1e78a9382dd7b423121a5eaf6d3e9cc0d7c7d23 /Gruntfile.js
parent94ddf620224d6555aaa7eaac20c583b15c6f50d8 (diff)
downloadjquery-90bac40a5123038c94a6fd8c1fde7fbe758b08c7.tar.gz
jquery-90bac40a5123038c94a6fd8c1fde7fbe758b08c7.zip
Build: Update to Babel 7, use for-of plugin instead of preset-es2015
Closes gh-3786
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 0c2ba19fa..edcdb4f15 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -36,7 +36,8 @@ module.exports = function( grunt ) {
babel: {
options: {
sourceMap: "inline",
- retainLines: true
+ retainLines: true,
+ plugins: [ "transform-es2015-for-of" ]
},
nodeSmokeTests: {
files: {