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

Load custom transformers from tsconfig #552

Merged
merged 21 commits into from Jun 4, 2019

Conversation

ark120202
Copy link
Contributor

Resolves #433.

@@ -39,13 +39,15 @@
"node": ">=8.5.0"
},
"dependencies": {
"resolve": "^1.10.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid runtime deps if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's necessary in this case. Module resolution algorithm is complex and TS implementation isn't exposed and limited to types only. It's quite small, has only one sub-dependency and pretty much standard for customized module resolution, so IMO it's okay to add it. We'll need it for module support as well.

src/Transpile.ts Outdated Show resolved Hide resolved
src/CompilerOptions.ts Outdated Show resolved Hide resolved
@ark120202 ark120202 marked this pull request as ready for review May 5, 2019 15:25
@ark120202
Copy link
Contributor Author

Since microsoft/TypeScript#31301 was merged we should remove bundle check once we'll upgrade to 3.5.

@lolleko lolleko self-requested a review May 20, 2019 08:53
@Perryvw Perryvw merged commit d30f7ed into TypeScriptToLua:master Jun 4, 2019
@ark120202 ark120202 deleted the load-custom-transformers branch November 26, 2019 08:18
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 typescript transformers
3 participants