Closed fauu closed 7 years ago
We recommend to use https://github.com/electron-userland/electron-webpack
Yeah, I switched to a custom webpack setup because while this issue is easy to work around, electron-compile was giving me other troubles as well. Electron-builder works fine with the new setup.
Yes, as stated in the electron-webpack readme no one want home-grown tool and reinvent the wheel.
Build fails with the following error:
When running electron-compile manually (or through electron-forge) the errors are there as well, but the compilation finishes successfully:
electron-builder runs fine after the .d.ts files have been removed from the project:
node 8.4.0 npm 5.4.0 dependencies: