aura-nw / moleculer-ts-base

Base project for all moleculer project in aura
6 stars 0 forks source link

Feature: Support absolute import instead of ugly relative import #5

Open tuanbass opened 1 year ago

tuanbass commented 1 year ago

Realy ugly code like that

import {} from '../../../../../src/blah/blh'
HungLV46 commented 1 year ago

One work around is by using a custom loader as discussed here: https://github.com/TypeStrong/ts-node/discussions/1450#discussioncomment-1806115