mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(ckeditor5): build failing due to types path
This commit is contained in:
parent
929ebf114c
commit
dd7df1344e
@ -35,6 +35,7 @@ In the newly copied package, go to `package.json` and edit:
|
||||
3. Similarly, update `vitest` dependencies to match the monorepo one.
|
||||
4. Remove the `prepare` entry from the `scripts` section.
|
||||
5. Change `build:dist` to simply `build` in order to integrate it with NX.
|
||||
6. In `tsconfig.dist.json`, change `typings/types` to `../typings/types.d.ts` to be compatible with the latest TypeScript version.
|
||||
|
||||
## Step 4. Install missing dependencies and build errors
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
"rootDir": "./src",
|
||||
"composite": false,
|
||||
"types": [
|
||||
"./typings/types"
|
||||
"../typings/types.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
"rootDir": "./src",
|
||||
"composite": false,
|
||||
"types": [
|
||||
"./typings/types"
|
||||
"../typings/types.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
"rootDir": "./src",
|
||||
"composite": false,
|
||||
"types": [
|
||||
"./typings/types"
|
||||
"../typings/types.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
"rootDir": "./src",
|
||||
"composite": false,
|
||||
"types": [
|
||||
"./typings/types"
|
||||
"../typings/types.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
"rootDir": "./src",
|
||||
"composite": false,
|
||||
"types": [
|
||||
"./typings/types"
|
||||
"../typings/types.d.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user