-
Notifications
You must be signed in to change notification settings - Fork 31
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
tsconfig-paths dont work with esm modules #711
Comments
Could you please detail how you are running your code using the command line so that we can see how it's executing outside of Quokka? |
There is a pending issue LeDDGroup/typescript-transform-paths#134 that is blocking |
Since the issue is not related to Quokka itself and it is not currently possible to run the code either with Quokka or outside of Quokka, we will close the issue. If/when it is possible to run the code outside of Quokka, if it doesn't work for you please raise a feature request or else respond to this issue and we will re-open and investigate for you. |
@smcenlly There are some custom loaders which uses combination of |
In order to operate with ESM, Quokka has its own ESM loader. Part of the loader includes integration to support At this point in time, while we support ESM, we are careful of how much we expose outside of our internals as the node API is experimental and has already broken once (in the last couple of months). If you can run your code with |
Make sense @smcenlly. Making path aliasing work with |
Issue description or question
I am using
quokkajs
from an intellij module that is configured asesm
package.My
.quokka
file isSince as per this issue
tsconfig-paths
does not work withesm
modules, I am using typescript-transform-paths to transform path mappings. However, I believe is not supported byquokka
.Just wanted to check if you have plan to support path mapping functionality using this module or through some alternate form of solution.
tsconfig.json
isIs this issue related to Quokka not outputting the expected results of your code?: Yes
Sample code
src/m1/a.ts
src/m2/b.ts
Quokka.js Console Output
Code editor version
intellij 2021.2.3
OS name and version
OSX
The text was updated successfully, but these errors were encountered: