Skip to content

Commit eb337b5

Browse files
committed
feat: enable Hermes default optimization
1 parent d35cdd9 commit eb337b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { glob as globImplementation } from '../src/glob.cjs'
1919
const DEFAULT_PATTERNS = [`**/?(*.)+(spec|test).?([cm])[jt]s?(x)`] // do not trust magic dirs by default
2020
const bundleOpts = { pure: true, bundle: true, esbuild: true, ts: 'auto' }
2121
const bareboneOpts = { ...bundleOpts, barebone: true }
22-
const hermesA = ['-Og', '-Xmicrotask-queue']
22+
const hermesA = ['-w', '-Xmicrotask-queue'] // -Xes6-class fails with -O0 / -Og, --block-scoping fails in default, any of that is bad
2323
const denoA = ['run', '--allow-all'] // also will set DENO_COMPAT=1 env flag below
2424
const denoT = ['test', '--allow-all']
2525
const nodeTS = process.features.typescript ? 'auto' : 'flag'

0 commit comments

Comments
 (0)