Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should .mjs be included in the webpack config's extensions list? #398

Open
NoahAndrews opened this issue Aug 17, 2020 · 1 comment
Open

Comments

@NoahAndrews
Copy link

NoahAndrews commented Aug 17, 2020

Version: 2.8.2
Target: Windows

When I look at the webpack configuration generated by this project, I see an extensions list that looks like this: extensions: [ '.js', '.ts', '.tsx', '.json', '.node' ]. This doesn't include '.mjs', and it looks like that causes issues with certain dependencies. See graphql/graphql-js#1272 and jkhsjdhjs/node-fetch-cookies#10.

@NoahAndrews
Copy link
Author

I've updated the description (I accidentally submitted early)

@NoahAndrews NoahAndrews changed the title Should .mjs be included in the webpack config' Should .mjs be included in the webpack config's extensions list? Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant