Skip to content

Commit

Permalink
chore: remove unnecessary deps
Browse files Browse the repository at this point in the history
  • Loading branch information
basilgood committed Aug 3, 2024
1 parent e212a0c commit 6fbfbe1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 340 deletions.
22 changes: 8 additions & 14 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
import rollupCommonjs from '@rollup/plugin-commonjs';
import esbuild from 'rollup-plugin-esbuild';

/** @type { import('@storybook/web-components-vite').StorybookConfig } */
const config = {
stories: ['../stories/**/*.stories.{js,ts,mdx}'],
addons: ['@storybook/addon-essentials', '@storybook/addon-links'],
core: {
builder: '@storybook/builder-vite',
disableTelemetry: true,
},
framework: {
name: '@storybook/web-components-vite',
options: {},
},
docs: {
autodocs: true,
defaultName: 'Docs',
},
core: {
disableTelemetry: true,
},
/* Try to make the build parse TS files */
async rollupFinal(config) {
// add extra configuration for rollup
// e.g. a new plugin
config.plugins.push(rollupCommonjs({}));
config.plugins.push(esbuild({}));

staticDirs: ['../stories/images'],
async viteFinal(config) {
return config;
},
staticDirs: ['../stories/images'],
};

export default config;
Loading

0 comments on commit 6fbfbe1

Please sign in to comment.