ts-module-alias
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

README

Installation

npm install ts-module-alias

Usage with JEST

You simply have to dynamically change your Jest config using:

// jest.config.js
const { getModuleNameMapper } = require('ts-module-alias');
const moduleNameMapper = getModuleNameMapper();
module.exports = { moduleNameMapper };

Manual usage

import { register } from 'ts-module-alias';
 
register({ verbose: true });

Automatic usage

import 'ts-modules-alias/dist/auto';

Readme

Keywords

none

Package Sidebar

Install

npm i ts-module-alias

Weekly Downloads

3

Version

0.1.4

License

none

Unpacked Size

6.99 kB

Total Files

17

Last publish

Collaborators

  • raffpaquin