@rollup/plugin-commonjs 22.0.0-6 → 22.0.0-7
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/dist/cjs/index.js +9 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +9 -10
- package/dist/es/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var glob__default = /*#__PURE__*/_interopDefaultLegacy(glob);
|
|
|
16
16
|
var MagicString__default = /*#__PURE__*/_interopDefaultLegacy(MagicString);
|
|
17
17
|
var isReference__default = /*#__PURE__*/_interopDefaultLegacy(isReference);
|
|
18
18
|
|
|
19
|
-
var version = "22.0.0-
|
|
19
|
+
var version = "22.0.0-7";
|
|
20
20
|
var peerDependencies = {
|
|
21
21
|
rollup: "^2.66.1"
|
|
22
22
|
};
|
|
@@ -514,15 +514,14 @@ function getResolveId(extensions) {
|
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
if (
|
|
517
|
-
importee.
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
importee === DYNAMIC_MODULES_ID)
|
|
517
|
+
importee.endsWith(ENTRY_SUFFIX) ||
|
|
518
|
+
isWrappedId(importee, MODULE_SUFFIX) ||
|
|
519
|
+
isWrappedId(importee, EXPORTS_SUFFIX) ||
|
|
520
|
+
isWrappedId(importee, PROXY_SUFFIX) ||
|
|
521
|
+
isWrappedId(importee, ES_IMPORT_SUFFIX) ||
|
|
522
|
+
isWrappedId(importee, EXTERNAL_SUFFIX) ||
|
|
523
|
+
importee.startsWith(HELPERS_ID) ||
|
|
524
|
+
importee === DYNAMIC_MODULES_ID
|
|
526
525
|
) {
|
|
527
526
|
return importee;
|
|
528
527
|
}
|