From 4968fe26a03b03ff71699ec7567e3a15039dc72f Mon Sep 17 00:00:00 2001 From: Frank Weindel <6070611+frank-weindel@users.noreply.github.com> Date: Tue, 10 Oct 2023 23:42:25 -0400 Subject: [PATCH] Add `.js` extension to import that is missing it (#1913) * Add `.js` extension to import * add changelog --------- Co-authored-by: Ryan Carniato --- .changeset/wet-forks-melt.md | 5 +++++ packages/solid/src/render/hydration.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/wet-forks-melt.md diff --git a/.changeset/wet-forks-melt.md b/.changeset/wet-forks-melt.md new file mode 100644 index 000000000..fe0204580 --- /dev/null +++ b/.changeset/wet-forks-melt.md @@ -0,0 +1,5 @@ +--- +"solid-js": patch +--- + +Add `.js` extension to import diff --git a/packages/solid/src/render/hydration.ts b/packages/solid/src/render/hydration.ts index 95e88bafb..126e97a4d 100644 --- a/packages/solid/src/render/hydration.ts +++ b/packages/solid/src/render/hydration.ts @@ -1,4 +1,4 @@ -import { Computation } from "../reactive/signal"; +import { Computation } from "../reactive/signal.js"; export type HydrationContext = { id: string; count: number };