This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import assert from 'node:assert'; | |
| import path from 'node:path'; | |
| async function esmOrCjs(filepath) { | |
| const absolutePath = import.meta.resolve(filepath).replace('file://', ''); | |
| const ext = path.extname(absolutePath); | |
| switch (ext) { | |
| case '.mjs': | |
| return 'esm'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Enables breadcrumbs | |
| "breadcrumbs.enabled": true, | |
| // Slightly improves performance if you don't usescreen reader | |
| "editor.accessibilitySupport": "off", | |
| // My favorite font settings | |
| "editor.fontFamily": "'Fira Code', monospace", | |
| "editor.fontLigatures": true, |
OlderNewer