@@ -109,14 +109,14 @@ MJS
109109
110110 echo -n $' node current globSync mjs \t '
111111 cat > " $wd /bench-working-dir/sync.mjs" << MJS
112- import {globSync} from '$wd /dist/mjs /index.js'
112+ import {globSync} from '$wd /dist/esm /index.js'
113113 console.log(globSync(process.argv[2]).length)
114114MJS
115115 t node " $wd /bench-working-dir/sync.mjs" " $p "
116116
117117 echo -n $' node current glob syncStream \t '
118118 cat > " $wd /bench-working-dir/stream-sync.mjs" << MJS
119- import {globStreamSync} from '$wd /dist/mjs /index.js'
119+ import {globStreamSync} from '$wd /dist/esm /index.js'
120120 let c = 0
121121 globStreamSync(process.argv[2])
122122 .on('data', () => c++)
@@ -153,14 +153,14 @@ MJS
153153
154154 echo -n $' node current glob async mjs \t '
155155 cat > " $wd /bench-working-dir/async.mjs" << MJS
156- import { glob } from '$wd /dist/mjs /index.js'
156+ import { glob } from '$wd /dist/esm /index.js'
157157 glob(process.argv[2]).then(files => console.log(files.length))
158158MJS
159159 t node " $wd /bench-working-dir/async.mjs" " $p "
160160
161161 echo -n $' node current glob stream \t '
162162 cat > " $wd /bench-working-dir/stream.mjs" << MJS
163- import {globStream} from '$wd /dist/mjs /index.js'
163+ import {globStream} from '$wd /dist/esm /index.js'
164164 let c = 0
165165 globStream(process.argv[2])
166166 .on('data', () => c++)
0 commit comments