-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Rollup Version
4.14.1
Operating System (or Browser)
Mac
Node Version (if applicable)
No response
Link To Reproduction
Expected Behaviour
Input
export * from '@redux-saga/core'
import createSagaMiddleware from '@redux-saga/core'
export default createSagaMiddleware
Expected output
Output with createSagaMiddleware__namespace
declared.
Actual Behaviour
Output
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var createSagaMiddleware = require('@redux-saga/core');
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () { return createSagaMiddleware__namespace.default; }
});
Object.keys(createSagaMiddleware).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return createSagaMiddleware[k]; }
});
});
Notice the reference to createSagaMiddleware__namespace
which was not created.