main.ts in src

This commit is contained in:
1C0D 2023-08-07 00:16:37 +02:00
parent f0034cdcef
commit 996b3b2059
3 changed files with 10 additions and 1 deletions

9
a.bat Normal file
View File

@ -0,0 +1,9 @@
@echo on
IF EXIST "src/main.ts" (
start /B code src/main.ts
) ELSE (
start /B code main.ts
)
call npm install
call npm run dev
pause

View File

@ -15,7 +15,7 @@ const context = await esbuild.context({
banner: {
js: banner,
},
entryPoints: ["main.ts"],
entryPoints: ["src/main.ts"],
bundle: true,
external: [
"obsidian",