You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has made me a little uncomfortable.
Perhaps there is a more elegant solution.
And the import statement will be transpiled as require("wc3-mono.pkgs.wc3-base.src.Game") finally.
It makes me very upset. I expected that I would get a require("wc3-base.Game")
I spent a lot of time reading the source code of TSTL so that I could write a plugin to change the situation.
But I didn't succeed, so I'm looking for some help on where to start.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Structure:
The package manager is Yarn 2 with PnP, and I have executed
yarn link
.so package.json be like:
To be able to use
import { Game } from 'wc3-base/Game'
, I should write tsconfig.json as:This has made me a little uncomfortable.
Perhaps there is a more elegant solution.
And the import statement will be transpiled as
require("wc3-mono.pkgs.wc3-base.src.Game")
finally.It makes me very upset. I expected that I would get a
require("wc3-base.Game")
I spent a lot of time reading the source code of TSTL so that I could write a plugin to change the situation.
But I didn't succeed, so I'm looking for some help on where to start.
The text was updated successfully, but these errors were encountered: