Closed Sebi2020 closed 2 years ago
These examples are meant to be used in a gulpfile.esm.js
and require the esm module to be installed.
@phated shouldn't this be mentioned on the page? The getting started did not even mention that there is an esm module. It's really confusing if you mix different import styles on the pages.
No, these are just flashy examples and not something you should be used as "getting started". There's a giant menu button to the getting started guide.
What actually happened?
gulpjs.com shows example, which do not work, cause gulp is a CommonJS module, but the examples use ES-Module Syntax:
Which causes the following error: