Skip to content

Doesn't work for components with code-splitting #73

@zdila

Description

@zdila

Hi,

Just a quick note - if your component generates chunks (code splitting) then importing it in other project imports undefined.

Disabling code splitting in the component helps - in config/webpack-config.js:

 plugins: [
      new webpack.optimize.LimitChunkCountPlugin({
        maxChunks: 1,
      }),
      ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions