Skip to content

does not work with dynamic import #101

@taozhou-glean

Description

@taozhou-glean

my folder structure looks like following:

- data
  - web
- web
  - data (symlink to data/web)
  - other things
  - tsconfig.json

and with tsconfig setting the right path for web/*: ["./web/*"], I am getting Module not found: Error: Can't resolve 'web/data infor usage likeimport {} from "web/data/xxx". But switch to use alias` does work just fine, so it seems that the plugin does not work great with symlinks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions