fix: stringify compiler.entrypoint in shims (#541)
This commit is contained in:
committed by
Caleb Boyd
parent
e3f1d6fc74
commit
142338ede6
+1
-1
@@ -22,7 +22,7 @@ export default function(compiler: NexeCompiler, next: () => Promise<void>) {
|
||||
compiler.shims.push(
|
||||
wrap(`
|
||||
if (!process.send) {
|
||||
process.argv.splice(1,0, require.resolve("${compiler.entrypoint}"))
|
||||
process.argv.splice(1,0, require.resolve(${JSON.stringify(compiler.entrypoint)}))
|
||||
}
|
||||
`)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user