3b8c48e92d
The include still needs to be specified in the importing tsconfig otherwise the "." is resolved relative to the @/build-config. |
||
---|---|---|
.. | ||
.eslintrc.js | ||
eslintrc-base.js | ||
eslintrc-next.js | ||
eslintrc-react.js | ||
eslintrc-vite.js | ||
package.json | ||
README.md | ||
tsconfig-next.json | ||
tsconfig-typecheck.json | ||
tsconfig-vite.json | ||
tsconfig-vite.node.json | ||
tsconfig.json |
@/build-config
Build time configuration files. This can be thought of as a devDependency
that
exports various config files that our packages use at build time.
Packaging
This is not a TypeScript package, nor is it linted. It is not meant to be transpiled, it just exports static files that can be included verbatim.
Debugging
Too see what tsc is seeing (say when it is trying to type-check @/utils
), use
yarn workspace @/utils tsc --showConfig
.
Similarly, to verify what ESLint is trying to do, use
yarn workspace @/utils eslint --debug .
If the issue is in VSCode, open the output window of the corresponding plugin, it might be telling us what's going wrong there. In particular, when changing the settings here, you might need to "Developer: Reload Window" in VSCode to get it to pick up the changes.