Skip to content

Commit a743c9f

Browse files
authored
chore: added missing node module prefix to import (#5427)
1 parent 8af9484 commit a743c9f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

packages/foundations/assets/fonts/generate-eu-fonts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { glob } from 'glob';
22
import { execFile } from 'node:child_process';
33
import { promisify } from 'node:util';
44

5-
import { dirname } from 'path';
6-
import { fileURLToPath } from 'url';
5+
import { dirname } from 'node:path';
6+
import { fileURLToPath } from 'node:url';
77

88
const __filename = fileURLToPath(import.meta.url);
99
const __dirname = dirname(__filename).replaceAll('\\', '/');

storybooks/_storybook/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { StorybookConfig } from '@storybook/react-vite';
22

3-
import { dirname, join } from 'path';
3+
import { dirname, join } from 'node:path';
44

55
/**
66
* This function is used to resolve the absolute path of a package.

storybooks/angular-storybook/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { StorybookConfig } from '@storybook/angular';
22

3-
import { dirname, join } from 'path';
3+
import { dirname, join } from 'node:path';
44

55
/**
66
* This function is used to resolve the absolute path of a package.

storybooks/react-storybook/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { StorybookConfig } from '@storybook/react-vite';
22

3-
import { dirname, join } from 'path';
3+
import { dirname, join } from 'node:path';
44

55
/**
66
* This function is used to resolve the absolute path of a package.

storybooks/vue-storybook/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { StorybookConfig } from '@storybook/vue3-vite';
2-
import { dirname, join } from 'path';
2+
import { dirname, join } from 'node:path';
33

44
/**
55
* This function is used to resolve the absolute path of a package.

0 commit comments

Comments
 (0)