A minimal working example for TypeStrong/ts-loader#1294
- make sure ts-loader 9.1.2 is configured (review and edit package.json)
- npm install
- npm run build
This shoudl produce the following error:
ERROR in /path/to/project/ts-loader-alias-issue/public/js/query.ts
1:31-54
[tsl] ERROR in /path/to/project/ts-loader-alias-issue/public/js/query.ts(1,32)
TS2307: Cannot find module 'plugins/corparch/init' or its corresponding type declarations.
- make sure ts-loader 8.0.18 is configured (review and edit package.json)
- npm install
- npm run build
- no error