Skip to content

ImpendingDoom28/parcel-transformer-tsc-sourcemaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All credits for the code go to @iSplasher

This npm package was created based on answer from issue with @parcel/transformer-typescript-tsc.

Until it's not resolved, this package might be handy. It allows you to see the exact line of error in your sourcemaps.

Usage

  1. Firstly, install the package:
npm i --save-dev parcel-transformer-tsc-sourcemaps
  1. Then, in your .parcelrc file replace your "@parcel/transformer-typescript-tsc" with "parcel-transformer-tsc-sourcemaps"
{
	"transformers": {
    	"*.{ts,tsx}": ["parcel-transformer-tsc-sourcemaps"]
  	}
}
  1. And that's it! Now parcel will show the exact line in your sourcemap, where the error is

About

Typescript transformer plugin for parcel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published