-
+
diff --git a/vite.config.mjs b/vite.config.mjs
index 93975d3..14fe45b 100644
--- a/vite.config.mjs
+++ b/vite.config.mjs
@@ -1,12 +1,10 @@
-import { defineConfig } from 'vite'
-import { svelte } from '@sveltejs/vite-plugin-svelte'
-
-// svelte.config.js
+import { defineConfig } from 'vite';
+import { svelte } from '@sveltejs/vite-plugin-svelte';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
-// https://vitejs.dev/config/
+// As of right now, this is just used for building the storybook.
export default defineConfig({
plugins: [svelte({
preprocess: [vitePreprocess()]
})]
-})
+});
From 59fa435eaaaf0c41086ae69ff79cd5d11966a9a4 Mon Sep 17 00:00:00 2001
From: Daniel Oakman <141111365+danoaky-tiny@users.noreply.github.com>
Date: Tue, 11 Jun 2024 16:57:52 +1000
Subject: [PATCH 3/8] INT-3307: Use gh-pages to deploy storybook
---
package.json | 3 +-
yarn.lock | 104 +++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 102 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index 7df84d5..0b6d0d4 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"test": "echo 'No tests hooked up yet'",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
- "deploy-storybook": "yarn storybook-to-ghpages --source-branch=main",
+ "deploy-storybook": "storybook build && gh-pages -d ./storybook-static -u 'tiny-bot