📚 Add GitHub Copilot instructions (#8548)

This commit is contained in:
Andrey Antukh
2026-03-09 16:23:28 +01:00
committed by GitHub
parent adc3fa41e9
commit 05c71f7b75
14 changed files with 845 additions and 74 deletions

View File

@@ -5,14 +5,17 @@ import { readFile } from "node:fs/promises";
* esbuild plugin to watch a directory recursively
*/
const watchExtraDirPlugin = {
name: 'watch-extra-dir',
name: "watch-extra-dir",
setup(build) {
build.onLoad({ filter: /target\/index.js/, namespace: 'file' }, async (args) => {
return {
watchDirs: ["packages/ui/dist"],
};
});
}
build.onLoad(
{ filter: /target\/index.js/, namespace: "file" },
async (args) => {
return {
watchDirs: ["packages/ui/dist"],
};
},
);
},
};
const filter =