Closed developit closed 7 years ago
I don't quite understand the memory plugin and the settings for that.
In the case of the ESM build output this PR makes it basically a pass-through. For the commonjs output, that is basically injecting a "shim" entrypoint. The purpose is to change the resulting commonjs to be:
// what's really exported in the umd bundle:
module.exports = require('./preact');
Fixed in 2.0.2.
Relates to comment in #3: https://github.com/developit/preact-redux/pull/3#issuecomment-252553434