Build boilerplate

This commit is contained in:
NicolasCantu 2025-03-28 12:53:24 +01:00
parent 94ee8842e3
commit 2d0e15533a
2 changed files with 11 additions and 1 deletions

View File

@ -9,7 +9,8 @@
"start": "vite --host 0.0.0.0",
"build": "tsc && vite build",
"deploy": "sudo cp -r dist/* /var/www/html/",
"prettify": "prettier --config ./.prettierrc --write \"src/**/*{.ts,.html,.css,.js}\""
"prettify": "prettier --config ./.prettierrc --write \"src/**/*{.ts,.html,.css,.js}\"",
"build:dist": "tsc -p tsconfig.build.json"
},
"keywords": [],
"author": "",

9
tsconfig.build.json Normal file
View File

@ -0,0 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "./dist",
"module": "commonjs"
},
"exclude": ["node_modules", "dist"]
}