Skip to content

Commit e2f8b66

Browse files
nperez0111claude
andcommitted
fix(examples): drop .js extension on macroRegistry import
Next/Turbopack's resolver in the docs build can't follow the explicit .js extension to a sibling .ts file, which broke build:site. Other examples in the repo import sibling files extensionless, so match that. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2ac9ebd commit e2f8b66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/06-custom-schema/09-macro-block/src

examples/06-custom-schema/09-macro-block/src/Macro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createBlockSpec, defaultProps } from "@blocknote/core";
22

3-
import { macroRegistry } from "./macroRegistry.js";
3+
import { macroRegistry } from "./macroRegistry";
44

55
// The Macro block — built with the vanilla `createBlockSpec` API.
66
//

0 commit comments

Comments
 (0)