Merge pull request #56 from jfmengels/use-processopts

Use processOpts from options
This commit is contained in:
Matthew Griffith 2022-02-06 09:29:41 -05:00 committed by GitHub
commit 0eb8e908a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,11 +72,7 @@ export async function run(
output: 'output/elm.opt.js',
cwd: dirname,
optimize: true,
processOpts:
// ignore stdout
{
stdio: ['inherit', 'ignore', 'inherit'],
},
processOpts: options.processOpts,
});
if (jsSource != '') {
log('Compiled, optimizing JS...');