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 relative imports #483

Merged
merged 7 commits into from
Sep 13, 2021
Merged

support relative imports #483

merged 7 commits into from
Sep 13, 2021

Conversation

lolopinto
Copy link
Owner

if integrating into an existing codebase, don't want inconsistencies with some places using "src/foo/blah/" imports and others using "./../"

fixes #472

this provides a boolean compiler option that can be configured in ent.yml to generate "ugly" (relative) imports. depends on #482 since we need to change to use tsc instead of the custom compiler added in #55.

Changed examples/simple to use relative imports.

@lolopinto lolopinto merged commit b3ddfae into main Sep 13, 2021
@lolopinto lolopinto deleted the ugly-imports branch September 13, 2021 22:10
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.

support ugly imports
1 participant