Skip to content

Commit

Permalink
Merge pull request #23602 from storybookjs/yann/fix-module-resolution…
Browse files Browse the repository at this point in the history
…-documentation

Documentation: Fix snippets regarding module resolution
  • Loading branch information
jonniebigodes authored Jul 25, 2023
2 parents a4e44fd + d935725 commit d4e6098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
```js
// .storybook/main.js

import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';
import path from 'path';

export default {
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```ts
// .storybook/main.ts

import path from 'path';
// Replace your-framework with the framework you are using (e.g., react-webpack5, vue3-vite)
import type { StorybookConfig } from '@storybook/your-framework';

Expand Down

0 comments on commit d4e6098

Please sign in to comment.