electron-userland / electron-userland/electron-webpack
typescript cannot find webpack alias module
Open
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: 2.7.4
I have cloned a new quick-start project and followed this link to install TS add-ons.
Then in `src/main/index.ts`, I imported some module in `src/main` (alias as `@`) and `src/common` (alias as `common`).
Now `eletcron-webpack dev` runs with no error. But my IDE (such as VS Code) shows errors in editor:
```
Cannot find module '@/someModule'. ts(2307)
Cannot find module 'common/someModule'. ts(2307)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.