Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Not lazy loading as expected #27

Open
IAMtheIAM opened this issue Sep 19, 2016 · 1 comment
Open

Not lazy loading as expected #27

IAMtheIAM opened this issue Sep 19, 2016 · 1 comment
Assignees

Comments

@IAMtheIAM
Copy link

IAMtheIAM commented Sep 19, 2016

My code
var $ = require('bundle?lazy&name=chunk.jquery!jquery');

It puts the jquery in theapp.bundle. But I want jquery to be a separate chunk which is lazy loaded only in the component that requires it. Why is it going into app.bundle and loading for all pages?

Just trying to get async jquery load.

@michael-ciniawsky
Copy link
Member

@IAMtheIAM Please provide more info about your current setup (webpack.config.js etc)

@joshwiens joshwiens removed the question label May 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants