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

Instalation for WebPack doesn't work with transpileOnly flag enabled #14

Open
Antonio214 opened this issue Apr 2, 2021 · 1 comment

Comments

@Antonio214
Copy link

It seems that the transformer function returns a factory. However, according to node-ts docs the getTransformer can't receive a factory when the transpileOnly flag is enabled.

This lead to the following error:
image

Here is my webpack config:
image

Did I do something wrong? Is there a way to enable this flag again and still get the code working? Only asking because build takes a lot of time without the flag...

@cad0p
Copy link

cad0p commented Mar 12, 2023

I can't even get valuesOf to be found at runtime so I guess your problem is very small compared to mine 😅

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

No branches or pull requests

2 participants