Skip to content

Commit

Permalink
fix: modify imports for proper esm resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeolun committed Jan 31, 2025
1 parent 1fd0b68 commit 7fda63a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ import type { JSX, ReactElement } from "react";

import type { Change } from "diff";
import memoize from "memoize-one";
import { type Block, computeHiddenBlocks } from "./compute-hidden-blocks";
import { type Block, computeHiddenBlocks } from "./compute-hidden-blocks.js";
import {
type DiffInformation,
DiffMethod,
DiffType,
type LineInformation,
computeLineInformation,
} from "./compute-lines";
import { Expand } from "./expand";
} from "./compute-lines.js";
import { Expand } from "./expand.js";
import computeStyles, {
type ReactDiffViewerStyles,
type ReactDiffViewerStylesOverride,
} from "./styles";
} from "./styles.js";

import { Fold } from "./fold";
import { Fold } from "./fold.js";

type IntrinsicElements = JSX.IntrinsicElements;

Expand Down

0 comments on commit 7fda63a

Please sign in to comment.