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

Add transpileOnly support for TS projects if needed #497

Merged
merged 2 commits into from
Jan 4, 2020

Conversation

arunoda
Copy link
Contributor

@arunoda arunoda commented Jan 3, 2020

This allows us to build faster while we are developing.
(As we are not much interest about the type accuracy)

With some tests, we can gain upto 2X time reduction when building.
I assume the benefit will be more than this for massive projects.

This allows us to build faster while we are developing.
(As we are not much interest about the type accuracy)

With some tests, we can gain upto 2X time reduction when building.
I assume the benefit will be more than this for massive projects.
@ctrlplusb
Copy link

Amaze!

@@ -177,6 +178,7 @@ module.exports = (
{
loader: eval('__dirname + "/loaders/ts-loader.js"'),
options: {
transpileOnly,
Copy link
Member

Choose a reason for hiding this comment

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

Looks good, we just need a test for this new behavior

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@styfle sure thing. Done.

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Very nice! 🎉

It looks like Circle CI is broken for macOS so we can probably ignore that for now. Ironically, GH Actions has the opposite problem where macOS passes and Linux fails 🤷‍♂ (see #494)

@arunoda
Copy link
Contributor Author

arunoda commented Jan 4, 2020

Thanks @styfle.

It looks like Circle CI is broken for macOS so we can probably ignore that for now. Ironically, GH Actions has the opposite problem where macOS passes and Linux fails 🤷‍♂ (see #494)

Then use Circle CI for linux and GA for MacOS.

@arunoda arunoda merged commit 60214d2 into master Jan 4, 2020
@arunoda arunoda deleted the add-transpile-only-support branch January 4, 2020 15:21
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.

4 participants