Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions site/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import turbosnap from "vite-plugin-turbosnap";

module.exports = {
stories: ["../src/**/*.stories.tsx"],

Expand All @@ -17,17 +15,4 @@ module.exports = {
name: "@storybook/react-vite",
options: {},
},

async viteFinal(config, { configType }) {
config.plugins = config.plugins || [];
if (configType === "PRODUCTION") {
config.plugins.push(
turbosnap({
rootDir: config.root || "",
}),
);
}
config.server.allowedHosts = [".coder"];
return config;
},
};
3 changes: 1 addition & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@
"ts-proto": "1.164.0",
"typescript": "5.6.3",
"vite": "6.3.5",
"vite-plugin-checker": "0.9.3",
"vite-plugin-turbosnap": "1.0.3"
"vite-plugin-checker": "0.9.3"
},
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
"resolutions": {
Expand Down
8 changes: 0 additions & 8 deletions site/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading