ts-loader
ts-loader copied to clipboard
TypeScript loader for webpack
Anyone have luck webpack-5-ing with the new `.mts` extension? I'm able to output from `tsc -p .` fine, but through webpack I'm getting "Error: TypeScript emitted no output for .../index.mts"....
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
### Expected Behaviour Based on this highly anticipated and recently merged PR: https://github.com/TypeStrong/ts-loader/pull/935 by @sheetalkamat I would expect ts-loader to build dependent projects if `projectReferences: true`. ### Actual Behaviour Dependent...
Hi there, We have a very large Angular 2 codebase that we're attempting to move over to `ts-loader`; we're getting massive (4-5x) speed boosts compared to our existing awesome-typescript-loader setup,...
Can't install ts-loader with node 16. ### Expected Behaviour Install should be successful in ts-loader repository with node 16. ### Actual Behaviour node 16 install fails in ts-loader repository with...
trying to see if that fixes the issue instead of using `legacy-peer-deps`. Currently, this is blocking the usage of `pnpm` as I'm trying it out. I'm not sure will this...
### Expected Behaviour Webpack build fails due to a typescript error with a proper error trace in the log ### Actual Behaviour Getting an error with a random uuid without...
I would like to export sourcemaps but strip out all comments. I have the following in my tsconfig (this is loaded via ts-loader) ```js "removeComments": true, "sourceMap": true, ``` My...
Why is the upstream sourcemap not processed in the loader? > https://github.com/TypeStrong/ts-loader/blob/main/src/index.ts#L34 ```js function loader(this: webpack.LoaderContext, contents: string, map?: Sourcemap) { if (map) { ... } } ```