forked from external-repos/squoosh
Replace deprecated terser plugin (#1423)
* Replace deprecated terser plugin * Update Node version * Fix build on windows * Use path resolve instead of posix --------- Co-authored-by: robo-mop <realaryanpingle@gmail.com>
This commit is contained in:
@@ -64,6 +64,7 @@ export default function simpleTS(mainPath, { noBuild, watch } = {}) {
|
||||
await new Promise((resolve) => {
|
||||
const proc = spawn(tscPath, args, {
|
||||
stdio: 'inherit',
|
||||
shell: true,
|
||||
});
|
||||
|
||||
proc.on('exit', (code) => {
|
||||
|
||||
Reference in New Issue
Block a user