Closed blaasvaer closed 3 weeks ago
Problem is my main in package.json is not pointing to your specific module, I'm pointing to 'index.js' which is my entrypoint. I don't know why one would expect the use of this module in this way by default.
I down graded to v5 and can now use require and get on with my life.
import zip from 'gulp-zip'; ^^^^^^
SyntaxError: Cannot use import statement outside a module
I'm using this at the top of my gulpfile.js.