Skip to content

Commit

Permalink
build: specify base path and fix css asset handling
Browse files Browse the repository at this point in the history
  • Loading branch information
istudyatuni committed Apr 17, 2022
1 parent f76ff64 commit faf023f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="description" content="Mandelbrot set with canvas" />

<link rel="icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="global.css">
<!-- <link rel="stylesheet" type="text/css" href="global.css"> -->
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ const config = {
sourcemap: true,
minify: true,
outDir: 'build',
target: 'esnext',
},
// base: '/',
base: '/mandelbrot',
}

export default config

0 comments on commit faf023f

Please sign in to comment.