electron-userland / electron-userland/electron-webpack

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

Open
#398 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

**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 https://github.com/graphql/graphql-js/issues/1272 and https://github.com/jkhsjdhjs/node-fetch-cookies/issues/10.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.