Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AMD imports with baseUrl and without paths in ts config #580

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eprincev-egor
Copy link

for example i have ts config:

{"compilerOptions": {
  "baseUrl": "./src"
}}

and have two source files

// pages/MainPage.ts
import {Grid} from "core/Grid";
// core/Grid.ts
export class Grid {}

i need to resolve import path in pages/MainPage.ts
from "core/Grid" to "../core/Grid"
because i have baseUrl in ts config and typescript understand types by path "core/Grid"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants