mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-23 15:11:04 +01:00
Compare commits
2 commits
e2aab980d5
...
9e71877d91
Author | SHA1 | Date | |
---|---|---|---|
|
9e71877d91 | ||
7268a7287a |
3 changed files with 18 additions and 6 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
12
data/tags/paths.md
Normal file
12
data/tags/paths.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
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.
|
12
package.json
12
package.json
|
@ -10,19 +10,19 @@
|
|||
"format:apply": "prettier . --write"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bun-types": "^1.1.26",
|
||||
"bun-types": "^1.1.29",
|
||||
"prettier": "3.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lilybird/handlers": "0.6.0-beta.20",
|
||||
"@lilybird/handlers": "0.6.0",
|
||||
"@lilybird/jsx": "0.3.0",
|
||||
"@lilybird/transformers": "^0.4.1",
|
||||
"@lilybird/transformers": "^0.4.2",
|
||||
"@paperdave/logger": "^3.0.1",
|
||||
"@purplet/serialize": "^2.0.0",
|
||||
"@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE",
|
||||
"algoliasearch": "^5.2.3",
|
||||
"bun-tracestrings": "github:oven-sh/bun.report",
|
||||
"algoliasearch": "^5.5.3",
|
||||
"bun-tracestrings": "https://github.com/oven-sh/bun.report",
|
||||
"gray-matter": "^4.0.3",
|
||||
"lilybird": "^0.7.3"
|
||||
"lilybird": "^0.8.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue