Skip to content

Commit

Permalink
Generate redirects on story build
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Feb 16, 2024
1 parent 2ce9e66 commit ed9d3e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/_redirects

This file was deleted.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ed9d3e9

Please sign in to comment.