@rollup/plugin-commonjs 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +2 -8
- package/dist/index.es.js +1058 -894
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1058 -894
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -233,11 +233,7 @@ For these situations, you can change Rollup's behaviour either globally or per m
|
|
|
233
233
|
import * as dep$1 from 'dep';
|
|
234
234
|
|
|
235
235
|
function getDefaultExportFromNamespaceIfNotNamed(n) {
|
|
236
|
-
return n &&
|
|
237
|
-
Object.prototype.hasOwnProperty.call(n, 'default') &&
|
|
238
|
-
Object.keys(n).length === 1
|
|
239
|
-
? n['default']
|
|
240
|
-
: n;
|
|
236
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
241
237
|
}
|
|
242
238
|
|
|
243
239
|
var dep = getDefaultExportFromNamespaceIfNotNamed(dep$1);
|
|
@@ -252,9 +248,7 @@ For these situations, you can change Rollup's behaviour either globally or per m
|
|
|
252
248
|
import * as dep$1 from 'dep';
|
|
253
249
|
|
|
254
250
|
function getDefaultExportFromNamespaceIfPresent(n) {
|
|
255
|
-
return n && Object.prototype.hasOwnProperty.call(n, 'default')
|
|
256
|
-
? n['default']
|
|
257
|
-
: n;
|
|
251
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
258
252
|
}
|
|
259
253
|
|
|
260
254
|
var dep = getDefaultExportFromNamespaceIfPresent(dep$1);
|