1
0
Fork 0

Isolated modules to true in client

Speeds up compilation
This commit is contained in:
Chocobozzz 2024-08-16 10:45:30 +02:00
parent d97484c2f7
commit 9a6e68d505
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 7 additions and 10 deletions

View file

@ -372,5 +372,5 @@ videojs.registerComponent('StatsCard', StatsCard)
export { export {
StatsCard, StatsCard,
StatsCardOptions type StatsCardOptions
} }

View file

@ -299,10 +299,10 @@ class PluginsManager {
export { export {
PluginsManager, PluginsManager,
PluginInfo, type PluginInfo,
PeertubeHelpersFactory, type PeertubeHelpersFactory,
OnFormFields, type OnFormFields,
OnSettingsScripts type OnSettingsScripts
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------

View file

@ -1,5 +1 @@
type Translations = { [ id: string ]: string } export type Translations = { [ id: string ]: string }
export {
Translations
}

View file

@ -15,6 +15,7 @@
"importHelpers": true, "importHelpers": true,
"strictBindCallApply": true, "strictBindCallApply": true,
"target": "ES2022", "target": "ES2022",
"isolatedModules": true,
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],