Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
fix(cli): bundle cmd (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Aug 20, 2023
1 parent fee472e commit 359d272
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/commands/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
brightYellow,
gray,
} from 'https://deno.land/std@0.198.0/fmt/colors.ts'
import { ensureFile } from 'https://deno.land/std@0.198.0/fs/ensure_file.ts'
import { join } from 'https://deno.land/std@0.198.0/path/mod.ts'
import byte from 'https://deno.land/x/byte@v3.3.0/byte.ts'
import * as esbuild from 'https://deno.land/x/esbuild@v0.19.2/mod.js'
Expand Down Expand Up @@ -118,8 +119,10 @@ async function bundle({
options = ['--import-map', 'imports.json']
}

ensureFile(output)

const cmd = new Deno.Command('deno', {
args: ['bundle', '-q', ...options, input, output],
args: ['bundle', '-q', '--unstable', ...options, input, output],
cwd,
})

Expand Down

0 comments on commit 359d272

Please sign in to comment.