ts-loader icon indicating copy to clipboard operation
ts-loader copied to clipboard

TypeScript loader for webpack

Results 103 ts-loader issues
Sort by recently updated
recently updated
newest added

### Expected Behaviour I use ['babel-loader', 'ts-loader'] in ts-loader result will to es6 but typescript compile something is missing. ### Actual Behaviour ![image](https://user-images.githubusercontent.com/7711802/115695747-a42f9080-a394-11eb-8136-ae809635b039.png) ![image](https://user-images.githubusercontent.com/7711802/115678528-31b6b480-a384-11eb-9c03-902c6c6b5237.png)

### Expected Behaviour ts-loader works with yarn 3 + pnp + workspaces + typescript references ### Actual Behaviour Link: https://github.com/TypeStrong/ts-loader/issues/1145#issuecomment-1067891664 Fail: ### Location of a Minimal Repository that Demonstrates the...

### Expected Behaviour ```ts { loader: require.resolve('ts-loader'), options: { getCustomTransformers: { path: string, options: {[k:string]: any} }, }, }, ``` ### Actual Behaviour ```ts { loader: require.resolve('ts-loader'), options: { getCustomTransformers:...

So I've set up a Vue project with Webpack, then I installed the proper loaders and moved to TypeScript inside my SFCs. It's all running good, except that the TS...

Working on pull request #520, and reading the comments in #506, has made me realise that ts-loader is not a well behaved webpack loader. From the webpack documentation for [how...

pinned

In instances.ts the loader reads the file from the fs.readFileSync (https://github.com/TypeStrong/ts-loader/blob/fbd64be5bdb010e79ef0f702896c5d470f6fc619/src/instances.ts#L114). Should this not be using `this.fs` from the web pack InputFileSystem. I noticed this when trying to bundle code...

pinned

I tried to speed up build process. And transpileOnly=true works amazing! Until I use any enum value in my code. **Example:** Definition file: definitions.d.ts ``` declare module MyModule { export...

help wanted
pinned

I'm using this loader with webpack in watch mode. In vscode you must defined start/end pattern for background task, so that vscode knows when to parse output for errors. The...

pinned

I'm not even going to try to figure out a minimal repro, but I'm observing it happening in a real-world project while testing #935. Basically, this https://github.com/TypeStrong/ts-loader/blob/d677d7359e863079e585310b105cfa9c45acf555/src/servicesHost.ts#L100 is supposed to...

bug
pinned

There's some potential changes for ts-loader discussed here: https://github.com/zeit/ncc/issues/208 Opening this issue for traceability. If someone would like to implement suggestions from there that'd be awesome!

pinned