mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the hashRouter.spec.ts into the webserver config in the playwright.config.ipfs.ts Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
+4
-3
@@ -2,15 +2,16 @@
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"start:ipfs": "HASH_ROUTING=1 vite --base ./",
|
||||
"start:ipfs": "VITE_HASH_ROUTING=1 vite --base ./",
|
||||
"serve": "vite preview",
|
||||
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
|
||||
"build:ipfs": "HASH_ROUTING=1 vite build --base ./",
|
||||
"build:ipfs": "VITE_HASH_ROUTING=1 vite build --base ./",
|
||||
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
|
||||
"check": "scripts/check",
|
||||
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --ignore-path .gitignore --write",
|
||||
"test:unit": "TZ='UTC' vitest run",
|
||||
"test:e2e": "TZ='UTC' playwright test"
|
||||
"test:e2e": "TZ='UTC' playwright test",
|
||||
"test:e2e:ipfs": "TZ='UTC' playwright test ./tests/e2e/hashRouter.spec.ts --config playwright.ipfs.config.ts"
|
||||
},
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user