electron-userland / electron-userland/electron-webpack
Fail to transpile other js files next to src/main/index.js file
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: 22.9.1
* **Target**: Windows, Mac
Failed to transpile other js files like `preload.js` which are also sitting inside `src/main` folder. Throws an error: `Cannot use import statement outside a module`

The main `src/main/index.js` seems fine for transpilation but rest of other files have an issue transpiling it.
Do we need to handle this from a custom webpack file i.e. `custom.webpack.additions.js`. Or am i missing something?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.