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 69d1992 commit 7224f3fCopy full SHA for 7224f3f
resolver/src/resolver/resolve-dependencies/macro-node-to-definition.ts
@@ -21,14 +21,12 @@ export function macroNodeToDefinition<T>(
21
editorComponentBundleContent: "",
22
} as MacroEditorConfigCustomDefinition,
23
};
24
- const BundlePathPlusOne = join(
25
- "..",
26
- macro.editorConfig.editorComponentBundlePath,
27
- );
28
let editorComponentPath = join(
29
importPath,
30
- BundlePathPlusOne,
+ "..",
+ macro.editorConfig.editorComponentBundlePath,
31
);
+ // fallback for backwards compatibility (see issue #120)
32
if (!existsSync(editorComponentPath)) {
33
editorComponentPath = join(
34
0 commit comments