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

Hi when I try to import my test.ts class it throws an error saying additional loader is needed for the class variable options(see blow) ``` Module parse failed: Unexpected token...

https://github.com/TypeStrong/ts-loader/blob/b4b036325b4cd97fab8b3f01fc7bc849373839d4/src/watch-run.ts#L106 I get a SyntaxError: Unexpected token _ in JSON at position 0 using webpack and ts-loader when using hot reload with webpack. As a result although building works, Hot...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/TypeStrong/ts-loader). ## Config Migration Needed - [ ]...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mocha](https://mochajs.org/) ([source](https://redirect.github.com/mochajs/mocha)) | [`^6.0.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/mocha/6.1.4/10.7.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mocha/10.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

### Expected Behaviour I want to generate one declaration file per entry. I am creating a component package and want to ship types along with it. The structure of my...

### Expected Behaviour Successfully compile project with: `transpileOnly: true` in `ts-loader` and `"isolatedModules": false` in `tsconfig.json` ### Actual Behaviour ### Steps to Reproduce the Problem ```ts // src/index.ts import {...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [semver](https://togithub.com/npm/node-semver) | [`7.3.4` -> `7.5.2`](https://renovatebot.com/diffs/npm/semver/7.3.4/7.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [webpack](https://togithub.com/webpack/webpack) | [`5.74.0` -> `5.76.0`](https://renovatebot.com/diffs/npm/webpack/5.74.0/5.76.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.76.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

### Expected Behaviour Since TS 5 we can create stage 3 decorators. Using webpack and ts-loader they should be compiled without issue. ### Actual Behaviour The build fails with `Unexpected...

This is the webpack config file I am using : ``` var webpack = require('webpack'); var path = require('path'); const TerserPlugin = require('terser-webpack-plugin'); module.exports = { mode: 'production', entry: './src/index.ts',...