Skip to content

Commit 055d8ea

Browse files
committed
Output front-end builds to ./public
1 parent b6c350b commit 055d8ea

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ lerna-debug.log*
3030
node_modules
3131
dist
3232
dist-ssr
33+
public
34+
public-ssr
3335
*.local
3436

3537
# Editor directories and files

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint';
66

77
// TODO: Add TanStack Query ESLint plugin when it works with ESLint 9.
88
export default tseslint.config(
9-
{ ignores: ['dist'] },
9+
{ ignores: ['dist', 'public'] },
1010
{
1111
extends: [js.configs.recommended, ...tseslint.configs.recommended],
1212
files: ['**/*.{ts,tsx}'],

tsconfig.app.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"root":["./src/App.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/api_error.tsx","./src/components/github_repo_button.tsx","./src/components/gulb_form.tsx","./src/components/main_content.tsx","./src/components/navbar.tsx","./src/components/ui/alert.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/chart.tsx","./src/components/ui/form.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/separator.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/tooltip.tsx","./src/lib/github.ts","./src/lib/gulb_api.ts","./src/lib/utils.ts"],"version":"5.6.2"}
1+
{"root":["./src/App.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/api_error.tsx","./src/components/github_repo_button.tsx","./src/components/gulb_form.tsx","./src/components/langs_chart.tsx","./src/components/main_content.tsx","./src/components/navbar.tsx","./src/components/ui/alert.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/chart.tsx","./src/components/ui/form.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/separator.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/tooltip.tsx","./src/lib/github.ts","./src/lib/github_colours.ts","./src/lib/gulb_service.ts","./src/lib/utils.ts"],"version":"5.6.2"}

vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import react from '@vitejs/plugin-react-swc';
77
export default defineConfig(() => {
88
return {
99
plugins: [react()],
10-
10+
publicDir: './assets',
11+
build: {
12+
outDir: './public',
13+
},
1114
resolve: {
1215
alias: {
1316
'@': path.resolve(__dirname, './src'),

0 commit comments

Comments
 (0)