Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components being bundled together incorrectly #532

Closed
1 of 3 tasks
jgw96 opened this issue Feb 13, 2018 · 0 comments
Closed
1 of 3 tasks

Components being bundled together incorrectly #532

jgw96 opened this issue Feb 13, 2018 · 0 comments
Assignees

Comments

@jgw96
Copy link
Contributor

jgw96 commented Feb 13, 2018

Stencil version:

 Started happening with `@stencil/core@0.5.0-2`

I'm submitting a:

Current behavior:

Using my stencil-beer PWA as an example, the auth-page bundle ends up containing all of the routed components in the app. After discussing this today with Adam, this is happening because our automatic bundling logic is reading stencil-routes when it shouldn't be.

Expected behavior:

auth-page would be in its own bundle as it does not reference any other components in the app

Steps to reproduce:

  1. Pull down https://github.com/jgw96/stencil-beer
  2. npm install @stencil/core@0.5.0 --save-exact
  3. do a dev or prod build (dev build makes it easier to see) with --stats turned on

Related code:

// insert any relevant code here

Other information:

@jgw96 jgw96 added bug labels Feb 13, 2018
@adamdbradley adamdbradley added this to the 0.6.0 - import collections milestone Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants