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

frontends: add vite preview npm task #2996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 24, 2024

  1. frontends: add vite preview npm task

    This is useful to test the production build of the web frontend
    locally in the browser.
    
    First do a production build, either by:
    - `make buildweb`
    - `cd frontends/web && npm ci && npm run build`
    
    Then run the frontend build with:
    - `cd frontends/web && npm run preview`
    
    Previw is a built in task of vitejs see:
    - https://v3.vitejs.dev/config/preview-options.html
    thisconnect committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c3ac9f7 View commit details
    Browse the repository at this point in the history