bundle-loader icon indicating copy to clipboard operation
bundle-loader copied to clipboard

Not lazy loading as expected

Open IAMtheIAM opened this issue 9 years ago • 1 comments

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.

IAMtheIAM avatar Sep 19 '16 22:09 IAMtheIAM

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

michael-ciniawsky avatar Apr 13 '17 22:04 michael-ciniawsky