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
(cherry picked from commit d4e6098)
  • Loading branch information
jonniebigodes authored and storybook-bot committed Jul 27, 2023
1 parent 330fa3a commit b36c083
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 b36c083

Please sign in to comment.