Use yarn in rollup config
This commit is contained in:
parent
2fe5f14eea
commit
33ad6cfbed
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function serve() {
|
|||
return {
|
||||
writeBundle() {
|
||||
if (server) return;
|
||||
server = child_process.spawn("npm", ["run", "start", "--", "--dev"], {
|
||||
server = child_process.spawn("yarn", ["start", "--dev"], {
|
||||
stdio: ["ignore", "inherit", "inherit"],
|
||||
shell: true,
|
||||
});
|
||||
|
|
Reference in a new issue