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
I guess this is because --packages=external marks every path not starting with [./] as external before the bundle resolution works. repl link without that option
Note that baseUrl is prepended to the aliased path, so you should avoid duplicate segments between them.
One possible way is to use --external:pkgname to manually exclude dependencies instead of using packages=external. In 99% of the cases, you only have to exclude the keys from your package.json/dependencies so:
https://esbuild.github.io/try/#YgAwLjE4LjIALS1idW5kbGUgLS1wbGF0Zm9ybT1uZXV0cmFsIC0tcGFja2FnZXM9ZXh0ZXJuYWwAZQBzcmMvaW5kZXgudHMAaW1wb3J0IHsgZm9vIH0gZnJvbSAnfi9mb28nCgpjb25zb2xlLmxvZyhmb28pAABzcmMvZm9vLnRzAGV4cG9ydCBjb25zdCBmb28gPSAnZm9vJwAAdHNjb25maWcuanNvbgB7CiAgImNvbXBpbGVyT3B0aW9ucyI6IHsKICAgICJzdHJpY3QiOiB0cnVlLAogICAgIm1vZHVsZVJlc29sdXRpb24iOiAiYnVuZGxlciIsCiAgICAibW9kdWxlIjogIkVTTmV4dCIsCiAgICAidGFyZ2V0IjogIkVTTmV4dCIsCiAgICAiYmFzZVVybCI6ICJzcmMiLAogICAgInBhdGhzIjogewogICAgICAifi8qIjogWyIqIl0KICAgIH0KICB9LAogICJpbmNsdWRlIjogWyJzcmMvKiovKiJdLAogICJleGNsdWRlIjogWyJub2RlX21vZHVsZXMiXQp9
Expect the output to be:
The text was updated successfully, but these errors were encountered: