This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
rewriteLocalizeCalls() doesn't work with 'importHelpers = true' #39
Labels
bug
Issue identified by VS Code Team member as probable bug
When
importHelpers
is set totrue
intsconfig.json
,rewriteLocalizeCalls()
doesn't generate any bundle files so alllocalize()
invocations go to fallback.Did a little debug and found out that, the condition here
vscode-nls-dev/src/lib.ts
Line 472 in 545e01a
is not met.
Possible JS transpiled when using tslib import helpers:
Here the expression turns from a global function call to a member access. This case can be handled by (for example):
The text was updated successfully, but these errors were encountered: