mirror of
https://github.com/penpot/penpot.git
synced 2026-03-12 21:36:39 +00:00
📚 Add GitHub Copilot instructions (#8548)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user