diff --git a/.gitignore b/.gitignore index 3b0b4037..816f994b 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ dist-ssr *.sln *.sw? -.env \ No newline at end of file +.env +.env.makers +.env.sopt \ No newline at end of file diff --git a/package.json b/package.json index b68861c8..029afed8 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,12 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", - "build": "tsc && vite build", + "dev": "vite --mode makers", + "dev:development": "vite --mode development", + "dev:sopt": "vite --mode sopt", + "build": "tsc && NODE_ENV=makers vite build --mode makers", + "build:makers": "tsc && vite build --mode development", + "build:sopt": "tsc && NODE_ENV=sopt vite build --mode sopt", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "test": "vitest" @@ -63,4 +67,4 @@ "vite": "^5.2.0", "vitest": "^2.0.5" } -} +} \ No newline at end of file