electron-webpack icon indicating copy to clipboard operation
electron-webpack copied to clipboard

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

Open ItsHarper opened this issue 5 years ago • 1 comments

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.

ItsHarper avatar Aug 17 '20 20:08 ItsHarper

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

ItsHarper avatar Aug 17 '20 20:08 ItsHarper