Skip to content

Commit b65c659

Browse files
committed
fix: add .js extension for ES Module
1 parent 3292934 commit b65c659

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/dev-pages-utils/permutations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
3-
import flatten from "lodash/flatten";
3+
import flatten from "lodash/flatten.js";
44
export function createPermutations(permutations) {
55
return flatten(permutations.map(set => doCreatePermutations(set)));
66
}

src/dev-pages-utils/permutations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
3-
import flatten from "lodash/flatten";
3+
import flatten from "lodash/flatten.js";
44

55
export type ComponentPermutations<Props> = {
66
[prop in keyof Props]: ReadonlyArray<Props[prop]>;

0 commit comments

Comments
 (0)