tspathfix

0.1.1 • Public • Published

TSPathFix

Simple no-dependency script to update relative paths in .js and .d.ts files after being generated by TypeScript compiler.

Installation

yarn install tspathfix -D 

OR

npm install tspathfix --save-dev

Usage

Compile TypeScript project and then run tspathfix in the same folder

tsc
tspathfix

Rationale

  • Typescript Compiler (tsc) does not perform path resolving when creating .js or .d.ts files
  • There are no simple solutions out there that can perform this without involving a bundler with convoluted setup

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i tspathfix

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

14.6 kB

Total Files

6

Last publish

Collaborators

  • kksiuda