Skip to content

Commit b9a2e27

Browse files
committed
Uses pnpm in components
1 parent a9f3bf1 commit b9a2e27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/bin/pack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function readJSON(dir) {
7474
return new Promise((ok, fail) => {
7575
const buffer = [];
7676
const child = spawn(
77-
'npx',
77+
'pnpm',
7878
[
7979
'webpack',
8080
'--env', `dir=${path.relative(packDir, path.resolve(dir))}`,
@@ -84,7 +84,7 @@ async function readJSON(dir) {
8484
],
8585
{
8686
cwd: packDir,
87-
shell: true,
87+
shell: false,
8888
}
8989
);
9090
child.stdout.on('data', (data) => buffer.push(String(data)));

0 commit comments

Comments
 (0)