egoist / egoist/bundle-require

Import do not work when using workspaces

Open
#40 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
185
Forks
19
PR merge metrics
No merged PRs in 30d

Description

[Here's an example](https://codesandbox.io/p/devbox/c63ynj?file=%2Fsrc%2Fapp%2Findex.js%3A8%2C15)

Step to reproduce:

```
yarn
yarn start
```

I see that the Readme says: `node_modules are excluded because it's problematic to try to bundle them`. But what about workspaces? I have a separate workspace with configuration files in ts format. Relative import works in this case (../shared-workspace/config), but not by package name (@app/shared-workspace/config).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.