Start storybook using the ./public dir as static asset dir

This commit is contained in:
Joseph Garrone 2023-11-02 20:06:17 +01:00 committed by GitHub
parent 716d3d4bda
commit 0ac8461b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@
"start": "react-scripts start",
"build": "react-scripts build",
"build-keycloak-theme": "yarn build && keycloakify",
"storybook": "start-storybook -p 6006"
"storybook": "start-storybook -p 6006 --static-dir ./public"
},
"keycloakify": {
"extraThemeProperties": [
@ -84,4 +84,4 @@
"last 1 safari version"
]
}
}
}