Skip to content

Commit

Permalink
Merge pull request #116 from LEEJW1953/fe-main
Browse files Browse the repository at this point in the history
[Fix] 메인이미지 경로 변경
  • Loading branch information
LEEJW1953 authored Nov 21, 2023
2 parents c128e40 + 5a48788 commit 9eb9c54
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion app/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="src/assets/icons/morak.ico" />
<link
rel="icon"
type="image/svg+xml"
href="public/assets/icons/morak.ico"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 0 additions & 1 deletion app/frontend/public/vite.svg

This file was deleted.

1 change: 0 additions & 1 deletion app/frontend/src/assets/react.svg

This file was deleted.

2 changes: 1 addition & 1 deletion app/frontend/src/constants/Main.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const MAIN_IMAGE = '/src/assets/images/main.png';
export const MAIN_IMAGE = 'assets/images/main.png';
8 changes: 7 additions & 1 deletion app/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ import path from 'path';
export default defineConfig({
plugins: [react(), vanillaExtractPlugin(), svgr()],
resolve: {
alias: [{ find: '@', replacement: path.resolve(__dirname, 'src') }],
alias: [
{
find: '@/assets',
replacement: path.resolve(__dirname, 'public/assets'),
},
{ find: '@', replacement: path.resolve(__dirname, 'src') },
],
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css', '.css.ts'],
},
});

0 comments on commit 9eb9c54

Please sign in to comment.