Skip to content

Commit 72c1738

Browse files
authored
chore(site): add missing .mjs extensions to imports (#9224)
1 parent 79b82ef commit 72c1738

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎apps/site/components/Downloads/Release/VersionDropdown.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import WithNoScriptSelect from '@node-core/ui-components/Common/Select/NoScriptS
44
import { useLocale, useTranslations } from 'next-intl';
55
import { use } from 'react';
66

7-
import { redirect, usePathname } from '#site/navigation';
7+
import { redirect, usePathname } from '#site/navigation.mjs';
88
import { STATUS_KIND_MAP } from '#site/next.constants.mjs';
99
import {
1010
ReleaseContext,

‎apps/site/util/download/archive.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import semVer from 'semver';
22

3+
import { DIST_URL } from '#site/next.constants.mjs';
34
import { OS_NOT_SUPPORTING_INSTALLERS, PLATFORMS } from '#site/util/download';
45
import { getNodeDownloadUrl } from '#site/util/url';
56

@@ -14,8 +15,6 @@ import type {
1415
} from '#site/types';
1516
import type { NodeRelease } from '#site/types/releases';
1617

17-
import { DIST_URL } from '#site/next.constants';
18-
1918
/**
2019
* Creates a download artifact from platform data
2120
*/

0 commit comments

Comments
 (0)