Use yarn in rollup config

This commit is contained in:
Tobias Berger 2021-09-28 12:27:52 +02:00
parent 2fe5f14eea
commit 33ad6cfbed

View file

@ -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,
});