Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script build:ui - All branches #40

Open
Ultimaterror opened this issue Nov 8, 2023 · 2 comments
Open

Script build:ui - All branches #40

Ultimaterror opened this issue Nov 8, 2023 · 2 comments

Comments

@Ultimaterror
Copy link

Vite build in a directory named "dist"

Need to change the build:ui script in all branches from :
"build:ui": "rm -rf build && cd ../frontend/ && npm run build && cp -r build ../backend"
into :
"build:ui": "rm -rf dist && cd ../frontend/ && npm run build && cp -r dist ../backend",

@Ultimaterror
Copy link
Author

Also need to change :
app.use(express.static('build'))
into :
app.use(express.static('dist'))

@Ultimaterror
Copy link
Author

Maybe also in the .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant