You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
I found that awesome-typescript-loader fails on compiling *.ts files without special reference comments to external modules, but tsc command works well in this situation.
I assume that this is probably because I moved all references to tsconfig.json and for some reason awesome-typescript-loader doesn't use them.
@Den-dp thanks for you report. Right now the loader fetches only compiler options from tsconfig.js. This is because it's webpack job to find all the references and dependencies. But I think, that the loader possibly can fetch also all the .d.ts files without any harm. I'll implement this soon.
I found that
awesome-typescript-loader
fails on compiling*.ts
files without specialreference
comments to external modules, buttsc
command works well in this situation.I assume that this is probably because I moved all references to
tsconfig.json
and for some reasonawesome-typescript-loader
doesn't use them.If you need repro you can grab this repo https://github.com/Den-dp/webpacked-typescript-demo and run
npm start
to install all deps and run webpack.Compilation with
tsc
works fine (even with commented reference https://github.com/Den-dp/webpacked-typescript-demo/blob/master/src/app.ts#L1 ), but compilation withwebpack
gives me the following error:Am I missing something?
The text was updated successfully, but these errors were encountered: