-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
In TS v5.5.0 a new ${configDir}
template variables will be supported.
Trying to bundle a project that uses that variables in its tsconfig.json
with the following command with esbuild@0.21.4:
esbuild --bundle --minify --format=esm --platform=node src/bin.ts > dist/bin.js
Results in the following warnings:
▲ [WARNING] Non-relative path "${configDir}/src" is not allowed when "baseUrl" is not set (did you forget a leading "./"?) [tsconfig.json]
node_modules/tsex/tsconfig.json:47:12:
47 │ "~": ["${configDir}/src"],
╵ ~~~~~~~~~~~~~~~~~~
▲ [WARNING] Non-relative path "${configDir}/src/*" is not allowed when "baseUrl" is not set (did you forget a leading "./"?) [tsconfig.json]
node_modules/tsex/tsconfig.json:48:14:
48 │ "~/*": ["${configDir}/src/*"]
╵ ~~~~~~~~~~~~~~~~~~~~
2 warnings
belgattitude and silverwind