We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f875ae5 commit afa8dacCopy full SHA for afa8dac
1 file changed
src/loader/babel.ts
@@ -100,6 +100,11 @@ const babelPluginUntyped: PluginItem = function (
100
return;
101
}
102
103
+ // Do not add meta to internal functions
104
+ if (p.parent.type !== "ExportNamedDeclaration") {
105
+ return;
106
+ }
107
+
108
const _getLines = cachedFn(() => this.file.code.split("\n"));
109
const getCode: GetCodeFn = (loc) => {
110
const _lines = _getLines();
0 commit comments