electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

tsconfig-paths support? #239

Closed wasd171 closed 7 years ago

wasd171 commented 7 years ago

Hi!

I was trying to use tsconfig-paths to help me with relative paths, but since both it and electron-compile are patching Node resolve mechanism, it didn't work.

Is there any chance of supporting it thought? It looks like a semi-official solution for TS.

wasd171 commented 7 years ago

I figured it out, you need to require it separately in main and renderer process