-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
I have an isomorphic app that runs using Node (without Webpack) on the server, and bundles with Webpack for the client.
So, I turn off .babelrc in my Webpack config:
{
loader: 'babel',
query: {
babelrc: false,
presets: ["es2015-webpack", "stage-1", "react"]
}
},
There doesn't seem to be a good way to hook into storybook and make it ignore the .babelrc, so it tries to run my Node-specific Babel plugins and bombs out.
noinkling and thomas-rager