mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
feat: fix issues importing /backend in other packages
This commit is contained in:
parent
460b65d1df
commit
8cb4d047b9
3 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,9 @@
|
|||
"description": "",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./*": "./dist/*"
|
||||
},
|
||||
"scripts": {
|
||||
"watch": "tsc-watch --build --onSuccess \"node start-dev.js\"",
|
||||
"watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"",
|
||||
|
|
|
@ -3,7 +3,7 @@ import type { Knub } from "knub";
|
|||
type Profiler = Knub["profiler"];
|
||||
let profiler: Profiler | null = null;
|
||||
|
||||
export function getProfiler() {
|
||||
export function getProfiler(): Profiler|null {
|
||||
return profiler;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"module": "NodeNext",
|
||||
"baseUrl": "./src",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist"
|
||||
"outDir": "./dist",
|
||||
"composite": true
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.json"],
|
||||
"references": [
|
||||
|
|
Loading…
Add table
Reference in a new issue