Open vamseekm opened 6 years ago
@ffiw Have you managed to resolve this / find a workaround or is this still an issue for you? (I'm facing the same problem it seems)
I wasn't able to resolve it. So ended up writing my own webpack config with hot reload.
All right, thanks for a quick reply :)
On 16 Jul 2018, at 13:53, ffiw notifications@github.com wrote:
I wasn't able to resolve it. So ended up writing my own webpack config with hot reload.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/electron-userland/electron-webpack/issues/171#issuecomment-405211209, or mute the thread https://github.com/notifications/unsubscribe-auth/AFKpMgib6xQSwTV83YOiZQbItDHa71rpks5uHHCRgaJpZM4U9T8L.
This is still an issue.
Working for me using the following versions:
"electron": "3.0.10",
"electron-builder": "^20.38.2",
"electron-webpack": "^2.6.1",
"electron-webpack-ts": "^3.1.0",
"tslint": "^5.11.0",
"typescript": "^3.2.1",
"webpack": "^4.26.1",
So this is an Electron version issue? I have the same problem, everything is up to date, except Electron, which is still on 2.0.2. Had planned on delaying that upgrade until a little later.
EDIT: Nope, just tried with Electron 4.0.0 and Typescript files are still not being compiled.
EDIT2: After rummaging around a bit more, deleting node_modules and the package-lock.json, I did get the TypeScript to compile but immediately ran into the next issue, being that my baseUrl didn't seem to have any effect. Think I'll have to bite the bullet and hand craft the webpack config.
same... can't get jsx/tsx to compile.
src/renderer/main.tsx
Error that I am getting:
My package.json file
My tsconfig.json file: