mirror of
https://github.com/flarum/framework.git
synced 2025-02-16 23:12:45 +08:00
fix: intellisense imports defaulting to absolute path from src
folder (#3549)
* docs: remove baseUrl recommendation Fixes https://github.com/flarum/flarum-tsconfig/issues/4 * chore: implement change within framework monorepo
This commit is contained in:
parent
d345734a8e
commit
3bdb0af993
|
@ -8,7 +8,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
||||||
"flarum/flags/*": ["../vendor/flarum/flags/js/dist-typings/*"]
|
"flarum/flags/*": ["../vendor/flarum/flags/js/dist-typings/*"]
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
||||||
"@flarum/core/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
"@flarum/core/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
||||||
"flarum/tags/*": ["../vendor/flarum/tags/js/dist-typings/*"]
|
"flarum/tags/*": ["../vendor/flarum/tags/js/dist-typings/*"]
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"],
|
||||||
// TODO: remove after export registry system implemented
|
// TODO: remove after export registry system implemented
|
||||||
|
|
|
@ -26,7 +26,6 @@ A baseline `tsconfig.json` is provided below that you can modify as needed. This
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// This will output typings to `dist-typings`
|
// This will output typings to `dist-typings`
|
||||||
"declarationDir": "./dist-typings",
|
"declarationDir": "./dist-typings",
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user