Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

Chunking aka code splitting #21

Open

Description

@ntucker

One cool thing about webpack is that it allows you to output multiple bundles for production. It's not clear to me if this is even possible in the python-webpack world. If it is, some documentation would be nice, if not, it would be a great feature.

Activity

  1. markfinger commented on May 18, 2015

    @markfinger
    Owner

    As long as webpack adds it to the list of assets emitted, it should work. There are test cases, but let me know if you have any issues.

    WebpackBundle instances are a pretty thin layer on top of the compilation output, if it doesn't work to your needs, you can get the output via the instance's stats attribute.

    I'll leave this open as a TODO for docs

  2. ntucker commented on May 19, 2015

    @ntucker
    Author

    Sorry, I think I got confused about terminology. I mean chunks. Where you get several output files based on some split of the code. Aka code splitting

  3. changed the title [-]Multiple bundles[/-] [+]Chunking aka code splitting[/+] on May 19, 2015
  4. markfinger commented on May 19, 2015

    @markfinger
    Owner

    #10 is still open regarding a test case. I suspect it'll work, but I've haven't tried it yet

  5. modified the milestone: v5.0 on Jun 25, 2015
  6. markfinger commented on Jun 25, 2015

    @markfinger
    Owner

    I haven't yet had a need for this, so I haven't really spent any time thinking about a workflow.

    As described above, you can introspect the compilation output to pull out paths to particular assets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions