1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 23:02:58 +00:00

Cloning JS formatting settings to the TS, allow importing TS

This commit is contained in:
2024-11-12 15:47:21 +04:00
parent e83d70fbd9
commit 01e538c5c2
3 changed files with 180 additions and 5 deletions

View File

@@ -19,6 +19,12 @@ const config = {
"$stores": "./src/stores",
"$entities": "./src/lib/extension/entities",
},
typescript: {
config: config => {
config.compilerOptions = config.compilerOptions || {};
config.compilerOptions.allowImportingTsExtension = true
}
}
},
preprocess: [
vitePreprocess({