Skip to content

No way to prevent .babelrc use #138

@sethkinast

Description

@sethkinast

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions