Skip to content

Commit ffc8be8

Browse files
committed
fix: potential fix for packaged executable
1 parent 5d62be0 commit ffc8be8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/pkg.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ async function main(argv = process.argv) {
144144
`--targets=node${nodeVersion}-${pkgPlatform}-${pkgArch}`,
145145
'--no-bytecode',
146146
'--no-native-build',
147+
'--options=experimental-require-module',
147148
'--public',
148149
"--public-packages='*'",
149150
`--output=${outPath}`,

0 commit comments

Comments
 (0)