Replies: 1 comment 4 replies
-
Moving to GitHub Discussions. Issue tracker is not used for questions. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before you open this issue, please complete the following tasks:
What were you expecting to happen?
gulpfile.babel.js
in a subdirectory should be able to use ES6 imports.What actually happened?
"SyntaxError: Cannot use import statement outside a module"
Please give us a sample of your gulpfile
Terminal output / screenshots
Please provide the following information:
node -v
): 12.20.1npm -v
): 6.12.xgulp -v
): 4.0.2Additional information
gulpfile.babel.js
works great at the root of the project, but fails in subdirectories in our monorepo. Any way to make this work? Thank you!Beta Was this translation helpful? Give feedback.
All reactions