Skip to content

Load custom transformers from tsconfig#552

Merged
Perryvw merged 21 commits intoTypeScriptToLua:masterfrom
ark120202:load-custom-transformers
Jun 4, 2019
Merged

Load custom transformers from tsconfig#552
Perryvw merged 21 commits intoTypeScriptToLua:masterfrom
ark120202:load-custom-transformers

Conversation

@ark120202
Copy link
Copy Markdown
Contributor

Resolves #433.

"node": ">=8.5.0"
},
"dependencies": {
"resolve": "^1.10.1",
Copy link
Copy Markdown
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
Copy Markdown
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.

@ark120202 ark120202 force-pushed the load-custom-transformers branch from 90b1ccc to de282fe Compare May 5, 2019 14:39
@ark120202 ark120202 marked this pull request as ready for review May 5, 2019 15:25
@ark120202
Copy link
Copy Markdown
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
@ark120202 ark120202 force-pushed the load-custom-transformers branch from 0edf0dc to ccc28e3 Compare June 3, 2019 20:57
@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