webpack-contrib / bundle-loader

Bundle Loader
MIT License
658 stars 59 forks source link

Not lazy loading as expected #27

Open IAMtheIAM opened 8 years ago

IAMtheIAM commented 8 years ago

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 commented 7 years ago

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