You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-23Lines changed: 9 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,26 +112,12 @@ exports.default = build;
112
112
113
113
## Use latest JavaScript version in your gulpfile
114
114
115
-
__Most new versions of node support most features that Babel provides, except the `import`/`export` syntax. When only that syntax is desired, rename to`gulpfile.esm.js`, install the [esm][esm-module]module, and skip the Babel portion below.__
115
+
Gulp provides a wrapper that will be loaded in your ESM code, so you can name your gulpfile as`gulpfile.mjs` or with `"type": "module"` specified in your `package.json` file.
116
116
117
-
Node already supports a lot of __ES2015+__ features, but to avoid compatibility problems we suggest to install Babel and rename your `gulpfile.js` to `gulpfile.babel.js`.
0 commit comments