Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/team-GDGline/gdgline-FE int…
Browse files Browse the repository at this point in the history
…o feat/camera
  • Loading branch information
Catleap02 committed Nov 15, 2024
2 parents b7b0a96 + 1d4d699 commit 1d601b9
Show file tree
Hide file tree
Showing 8 changed files with 601 additions and 619 deletions.
609 changes: 0 additions & 609 deletions dist/assets/index-BJ0Ie71S.js

This file was deleted.

154 changes: 154 additions & 0 deletions dist/assets/index-B_UW1K0B.js

Large diffs are not rendered by default.

364 changes: 364 additions & 0 deletions dist/assets/vendor/.pnpm-DhnAZfEm.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Yeon+Sung&display=swap");
</style>
<title>물멍</title>
<script type="module" crossorigin src="/assets/index-BJ0Ie71S.js"></script>
<script type="module" crossorigin src="/assets/index-B_UW1K0B.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor/.pnpm-DhnAZfEm.js">
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"terser": "^5.36.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10"
Expand Down
64 changes: 56 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed src.zip
Binary file not shown.
25 changes: 24 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
base: "/", // 배포 경로를 '/'로 설정
build: {
sourcemap: false, // 프로덕션 소스맵 비활성화
chunkSizeWarningLimit: 1000, // 청크 크기 제한 경고 설정
minify: "terser", // terser 사용하여 압축
terserOptions: {
compress: {
drop_console: true, // 콘솔 로그 제거
drop_debugger: true, // 디버거 제거
},
},
rollupOptions: {
output: {
manualChunks: (id) => {
// 'node_modules'가 경로에 포함된 경우에만 처리
if (id.includes("node_modules")) {
const segments = id.split("node_modules/");
const moduleName = segments[1]?.split("/")[0];
return `vendor/${moduleName}`;
}
},
},
},
},
});

0 comments on commit 1d601b9

Please sign in to comment.