feat: init new plugin system (#3323)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-20 10:52:29 +00:00
1 parent 604b53d9a4
commit 19055baa49
45 files changed
+768 -389

No files matched your search

+6
View File
@@ -43,6 +43,12 @@ const flags = {
coverage: process.env.COVERAGE === 'true',
} satisfies BuildFlags;
spawn('vite', ['build'], {
cwd: projectRoot,
stdio: 'inherit',
shell: true,
});
spawn(
'node',
[
+6
View File
@@ -91,6 +91,12 @@ flags.mode = buildFlags.mode as any;
flags.channel = buildFlags.channel as any;
flags.coverage = buildFlags.coverage;
spawn('vite', ['build', '--watch'], {
cwd: projectRoot,
stdio: 'inherit',
shell: true,
});
spawn(
'node',
[