This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Can not apply transform with ts-loader. #43
Comments
Changing options to getCustomTransformers: () => ({
after: [optChainTransform]
}), gives another error:
|
Changing import to as described here:
Gives another error
|
Changing
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there
I'm trying to use your transformer to get simple output instead of nested proxy-objects, but I struggle with that error now:
I tried to integrate your transform fn into my webpack config which I used to build vue based project, so I just wanted to utilize that getCustomTransformers option so after the edits config looks like that:
tsconfig:
I use common typescript compiler, because I couldn't make it done with ttsc - output bundle still have not-replaced
oc()
calls so it's still just recursive-proxy objects which I want to avoid. I thought maybe the problem intranspileOnly
but I can't refuse from it, project builds too long without it - so I started to search a way how to utilize this transform thing with my current config and I believed the code I provided above should work, but it doesn't. So I just wanted to ask maybe you have some ideas why, because I have no idea at the moment.Thanks in advance.
upd: Tried it both with typescript 3.2.4 and 3.5.2
The text was updated successfully, but these errors were encountered: