change build dir to dist
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,7 +9,7 @@
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
/dist
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
|
||||
"predeploy": "npm run build",
|
||||
"deploy": "gh-pages -d build",
|
||||
"clean": "rm -rf node_modules build",
|
||||
"deploy": "gh-pages -d dist",
|
||||
"clean": "rm -rf node_modules dist",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -10,8 +10,5 @@ export default defineConfig({
|
||||
preview: {
|
||||
port: 3000,
|
||||
},
|
||||
build: {
|
||||
outDir: "build",
|
||||
},
|
||||
base: "/udlbook",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user