mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-06 15:29:44 +01:00
- Define security headers for local testing of production web build. - Use Vite to run the preview local server.
564 B
564 B
@trezor/suite-web
Build target for web environment.
Development
yarn workspace @trezor/suite-web dev
Bundle analysis
Visualize size of output files with Webpack Bundle Analyzer
yarn workspace @trezor/suite-web analyze
Preview
Start local server with production build and applied security headers:
yarn workspace @trezor/suite-web preview
Build & Preview
Build web app and run the preview command:
yarn workspace @trezor/suite-web build:preview