Skip to content

Commit

Permalink
General: seo + build
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt2706 committed Mar 16, 2024
1 parent 1a2483f commit df46bc9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A 3D maze pathfinding visualization. Generate a 3D maze and visualize the pathfinding algorithm in action.">
<title>3D Maze Pathfinding</title>
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "./node_modules/.bin/vite",
"preview": "./node_modules/.bin/vite preview",
"build": "./node_modules/.bin/vite build"
"build": "./node_modules/.bin/vite build && cp robots.txt dist/"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow:
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineConfig } from 'vite';

export default defineConfig({
base: '/3DMazePathfinding/',
build: {
outDir: 'dist',
assetsInclude: ['**/*.txt'],
rollupOptions: {
input: {
main: 'index.html',
Expand Down

0 comments on commit df46bc9

Please sign in to comment.