diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-05-27 01:45:41 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-05-27 01:45:41 -0400 |
| commit | 4396c912771f136f7d397a67f247c81532520b85 (patch) | |
| tree | 9a8e2f7794e10078482df394e96c25183cd65c4f /tools/run-frontend | |
| parent | 79d3598282fd573931e7cb14e4d3e54aad7c943c (diff) | |
Call `vite` directly to build the frontend.
Calling through `npm` wasn't adding anything other than complexity, and it made it somewhat harder to follow what tools did what.
I'm also pretty sure `tools/build-ui` was totally unused.
Diffstat (limited to 'tools/run-frontend')
| -rwxr-xr-x | tools/run-frontend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run-frontend b/tools/run-frontend index 14ff49c..ccb9bd4 100755 --- a/tools/run-frontend +++ b/tools/run-frontend @@ -3,8 +3,8 @@ ## tools/run-frontend [OPTIONS…] ## ## Runs a development server for the Pilcrow UI. Options are passed through to -## the `npm run dev` command. This is best combined with the `API_SERVER` +## the `npx vite dev` command. This is best combined with the `API_SERVER` ## environment variable, to configure the development server to connect to a ## running Pilcrow instance. -exec npm run dev -- --host "$@" +exec npx vite dev --host "$@" |
