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 {
|
return {
|
||||||
writeBundle() {
|
writeBundle() {
|
||||||
if (server) return;
|
if (server) return;
|
||||||
server = child_process.spawn("npm", ["run", "start", "--", "--dev"], {
|
server = child_process.spawn("yarn", ["start", "--dev"], {
|
||||||
stdio: ["ignore", "inherit", "inherit"],
|
stdio: ["ignore", "inherit", "inherit"],
|
||||||
shell: true,
|
shell: true,
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue