Installing a npm Storybook package in my Gatsby project and getting webpack error #31626
Unanswered
jsimplicio
asked this question in
Help
Replies: 1 comment
-
Can you share a repository? This sounds like a user error on your end or maybe you'll need to adapt the tooling a bit to account for your npm package that isn't compiled correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am new to Gatsby. I have a Gatsby website where I am trying to import components from a Storybook package I published using npm.
I get this error with Gatsby below.
Description
Getting webpack error when trying to import a component from a npm package
Steps to reproduce
gatsby develop
Expected result
I expect when I do
import { Button } from "@firefox-ux/proton"
Inside of a .mdx page that I will be able to use that component.
Actual result
Environment
this is my config gatsby file
Beta Was this translation helpful? Give feedback.
All reactions