bundle-loader
bundle-loader copied to clipboard
Not lazy loading as expected
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 Please provide more info about your current setup (webpack.config.js etc)