Skip to content

Commit 4f4cc00

Browse files
committed
chore: remove turbosnap plugin
1 parent e10f29c commit 4f4cc00

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

site/.storybook/main.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import turbosnap from "vite-plugin-turbosnap";
2-
31
module.exports = {
42
stories: ["../src/**/*.stories.tsx"],
53

@@ -18,15 +16,7 @@ module.exports = {
1816
options: {},
1917
},
2018

21-
async viteFinal(config, { configType }) {
22-
config.plugins = config.plugins || [];
23-
if (configType === "PRODUCTION") {
24-
config.plugins.push(
25-
turbosnap({
26-
rootDir: config.root || "",
27-
}),
28-
);
29-
}
19+
async viteFinal(config) {
3020
config.server.allowedHosts = [".coder"];
3121
return config;
3222
},

site/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,13 @@
183183
"ts-proto": "1.164.0",
184184
"typescript": "5.6.3",
185185
"vite": "6.3.5",
186-
"vite-plugin-checker": "0.9.3",
187-
"vite-plugin-turbosnap": "1.0.3"
186+
"vite-plugin-checker": "0.9.3"
188187
},
189-
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
188+
"browserslist": [
189+
"chrome 110",
190+
"firefox 111",
191+
"safari 16.0"
192+
],
190193
"resolutions": {
191194
"optionator": "0.9.3",
192195
"semver": "7.6.2"

site/pnpm-lock.yaml

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)