Skip to content

Commit c5c8bdd

Browse files
committed
refactor: Node.js ESM module import include file ending
Node.js ESM stictly follows the ECMAScript spec, which requires module file endings. Vite, however, is more forgiving. We could consider updating all project imports for consistency.
1 parent f22a5f4 commit c5c8bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Internal dependencies
33
*/
4-
import { Platform } from './platform';
4+
import { Platform } from './platform.js';
55

66
// Log levels in order of verbosity
77
const LOG_LEVELS = {

0 commit comments

Comments
 (0)