Open Kilims opened 3 years ago
Same issue with me, I tried inline as shown below but no luck.
const Snap = require(
imports-loader?imports=default|snapsvg|Snap&wrapper=window&!snapsvg/dist/snap.svg.js);
This should work: #639 (comment)
I can confirm - works perfectly with Webpack 5
in webpack config with imports-loader@1.2.0
not working, and saying
suppose i should modify it as following
but how to config it as the same as
'imports-loader?this=>window,fix=>module.exports=0'
?