-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override webpack revolve not working #710
Comments
NVM this solve the issue https://github.com/tleunen/babel-plugin-module-resolver |
Can we close this issue ? |
Let us know if this issue still exist 👌 ? |
I can confirm this issue still happens. Using |
Okay for anyone that encounter the same issue: that's because we must use This would be good to document the fact that Storybook uses webpack v1 (or to insist on it if I actually missed it :) ), as it is deprecated and we find lesser resources using v1 syntax. |
Or shall we try to move to Webpack v2? 💃 |
We will move over to webpack 2. |
Hi guys I'm trying to define a webpack resolve in .storybook/webpack.config.js
resolve : { modules : [ path.resolve('./src'), 'node_modules', ], },
In order to use in my styles :
import variables from 'theme/varables';
in the theme folder I have a package.json with
{ "name" : "@theme" }
webpack output :
Any idea?
thanks
The text was updated successfully, but these errors were encountered: