diff --git a/packages/ui/.storybook/main.js b/packages/ui/.storybook/main.js index 0503a70f..fbfdab6d 100644 --- a/packages/ui/.storybook/main.js +++ b/packages/ui/.storybook/main.js @@ -1,5 +1,4 @@ import { mergeConfig } from 'vite' -import turbosnap from 'vite-plugin-turbosnap' import svgLoader from 'vite-svg-loader' module.exports = { @@ -22,10 +21,7 @@ module.exports = { }, async viteFinal(config, { configType }) { return mergeConfig(config, { - plugins: - configType === 'PRODUCTION' - ? [turbosnap({ rootDir: process.cwd() }), svgLoader({ defaultImport: 'component' })] - : [svgLoader({ defaultImport: 'component' })], + plugins: [svgLoader({ defaultImport: 'component' })], }) }, } diff --git a/packages/ui/package.json b/packages/ui/package.json index 953568e3..57d9d22f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -34,7 +34,6 @@ "storybook": "8.0.0", "ts-pattern": "5.0.8", "typescript": "5.3.3", - "vite-plugin-turbosnap": "1.0.3", "vite-svg-loader": "5.1.0", "vue": "3.4.15" },