mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 13:18:07 +01:00
14 lines
455 B
Diff
14 lines
455 B
Diff
|
diff --git a/lib/index.js b/lib/index.js
|
||
|
index 16ed6be8be8f555cc99096c2ff60954b42dc313d..d009c069770d066ad0db7ad02de1ea473a29334e 100644
|
||
|
--- a/lib/index.js
|
||
|
+++ b/lib/index.js
|
||
|
@@ -99,7 +99,7 @@ function lodash(_ref) {
|
||
|
|
||
|
var node = _ref3;
|
||
|
|
||
|
- if ((0, _types.isModuleDeclaration)(node)) {
|
||
|
+ if ((0, _types.isImportDeclaration)(node) || (0, _types.isExportDeclaration)(node)) {
|
||
|
isModule = true;
|
||
|
break;
|
||
|
}
|