Generate redirects on story build

This commit is contained in:
Rijk van Zanten
2024-02-16 15:54:41 -05:00
parent 2ce9e6639b
commit ed9d3e9afd
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
/* /index.html 200

View File

@@ -23,7 +23,7 @@
"scripts": {
"build": "vite build",
"dev": "vite",
"story:build": "histoire build",
"story:build": "histoire build && echo \"/* /index.html 200\" >> .histoire/dist/_redirects",
"story:dev": "histoire dev",
"story:preview": "histoire preview",
"test": "vitest --watch=false",