import react-reconciler/constants.js for esm
This commit is contained in:
7
.changeset/tough-baboons-heal.md
Normal file
7
.changeset/tough-baboons-heal.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"reacord": patch
|
||||
---
|
||||
|
||||
import react-reconciler/constants.js for esm
|
||||
|
||||
ESM projects which tried to import reacord would fail due to the lack of .js on this import
|
||||
@@ -1,7 +1,7 @@
|
||||
import { raise } from "@reacord/helpers/raise.js"
|
||||
import type { HostConfig } from "react-reconciler"
|
||||
import ReactReconciler from "react-reconciler"
|
||||
import { DefaultEventPriority } from "react-reconciler/constants"
|
||||
import { DefaultEventPriority } from "react-reconciler/constants.js"
|
||||
import { Node } from "./node.js"
|
||||
import type { Renderer } from "./renderers/renderer"
|
||||
import { TextNode } from "./text-node.js"
|
||||
|
||||
Reference in New Issue
Block a user