Compare commits

..

No commits in common. "9e71877d914a6a1d1de1ab699d171f958853e70e" and "e2aab980d526b374b405b01b9ff00a2d93a764a0" have entirely different histories.

3 changed files with 6 additions and 18 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -1,12 +0,0 @@
---
question: How to use tsconfig paths?
keywords:
- "paths"
- "baseUrl"
- "magic"
---
The `paths` and `baseUrl` compiler options don't cause any remapping of imports paths, they only inform TS of existing mappings, which you'll have to setup with some other tool.
`baseUrl` is a pretty well-supported option (e.g. using the `NODE_PATH` environment variable with node or `resolve.modules` with webpack).
`paths` can be trickier to setup, (see [this](https://nodejs.org/api/packages.html#packages_subpath_imports)), and you may find it to not be worth the effort.

View file

@ -10,19 +10,19 @@
"format:apply": "prettier . --write" "format:apply": "prettier . --write"
}, },
"devDependencies": { "devDependencies": {
"bun-types": "^1.1.29", "bun-types": "^1.1.26",
"prettier": "3.3.3" "prettier": "3.3.3"
}, },
"dependencies": { "dependencies": {
"@lilybird/handlers": "0.6.0", "@lilybird/handlers": "0.6.0-beta.20",
"@lilybird/jsx": "0.3.0", "@lilybird/jsx": "0.3.0",
"@lilybird/transformers": "^0.4.2", "@lilybird/transformers": "^0.4.1",
"@paperdave/logger": "^3.0.1", "@paperdave/logger": "^3.0.1",
"@purplet/serialize": "^2.0.0", "@purplet/serialize": "^2.0.0",
"@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE", "@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE",
"algoliasearch": "^5.5.3", "algoliasearch": "^5.2.3",
"bun-tracestrings": "https://github.com/oven-sh/bun.report", "bun-tracestrings": "github:oven-sh/bun.report",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"lilybird": "^0.8.0" "lilybird": "^0.7.3"
} }
} }