Skip to content

many spectacle dependencies bloats my bundle #490

@hellochar

Description

@hellochar

Spectacle alone is doubling my total Webpack bundle size (from 6 -> 13mb in dev mode). There's a few things that I'm personally not using but that are still being included:

  1. the code preview component pulls in react-live which pulls in buble which is about 800kb
  2. all of d3, unsure why
  3. redux and react-redux are pulled in because the appear component

It'd be great if spectacle supported tree shaking like lodash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions