createRequire resolves relative to the compiled dist/lib/ directory where the JSON file doesn't exist. Use readFileSync with a path resolved from the package root (../../src/assets/) which works from both src/lib/ and dist/lib/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ao | ||
| cli | ||
| core | ||
| integration-tests | ||
| plugins | ||
| web | ||