Closed gblok closed 5 years ago
still working new ProvidePlugin({Promise: ['zousan', 'default']})
Good catch @gblok . Digging into the webpack docs (https://webpack.js.org/plugins/provide-plugin/) I did find this, which concurs with your solution:
For importing the default export of an ES2015 module, you have to specify the default property of module.
Thanks for reporting back that it worked!
new ProvidePlugin({Promise: 'zousan'})
should work? ~v2.3.3 worked