Open sam-rad opened 7 years ago
@snikobonyadrad Also when using require()
?
Yes sir:
var Dismissed = require('bundle-loader?lazy!./Comey');
console.log(Dismissed); // [function]
console.log(Dismissed.Career); // `undefined`
// versus
var Dismissed = require('./Comey');
console.log(Dismissed); // [function]
console.log(Dismissed.Career); // [function]
Your webpack.config.js
and ideally a small test repo please :)
Here you go webpack-bundle-loader-bug. If you have cloud9 account I can give you access there too. Thanks.
When using loader's syntax I get
undefined
for named exports: