Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 5b54e8e

Browse files
author
Je
committed
refactor: imporve init command (write an empty import_map.json)
1 parent 65b9457 commit 5b54e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/init.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default async function (appDir: string, options: Record<string, string |
7272
await Deno.writeTextFile(path.join(appDir, '.vscode', 'extensions.json'), JSON.stringify(vscExtensions, undefined, 4))
7373
await Deno.writeTextFile(path.join(appDir, '.vscode', 'settings.json'), JSON.stringify(vscSettings, undefined, 4))
7474
await Deno.writeTextFile(path.join(appDir, '.gitignore'), gitignore.join('\n'))
75+
await Deno.writeTextFile(path.join(appDir, 'import_map.json'), JSON.stringify({ imports: {} }, undefined, 4))
7576

7677
log.info('Done')
7778
log.info('---')

0 commit comments

Comments
 (0)