mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 15:43:59 +08:00
3bdb0af993
* docs: remove baseUrl recommendation Fixes https://github.com/flarum/flarum-tsconfig/issues/4 * chore: implement change within framework monorepo
17 lines
651 B
JSON
17 lines
651 B
JSON
{
|
|
// Use Flarum's tsconfig as a starting point
|
|
"extends": "flarum-tsconfig",
|
|
// This will match all .ts, .tsx, .d.ts, .js, .jsx files in your `src` folder
|
|
// and also tells your Typescript server to read core's global typings for
|
|
// access to `dayjs` and `$` in the global namespace.
|
|
"include": ["src/**/*", "../vendor/*/*/js/dist-typings/@types/**/*", "@types/**/*"],
|
|
"compilerOptions": {
|
|
// This will output typings to `dist-typings`
|
|
"declarationDir": "./dist-typings",
|
|
"paths": {
|
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
|
"flarum/tags/*": ["../vendor/flarum/tags/js/dist-typings/*"]
|
|
}
|
|
}
|
|
}
|