unjs/nitroã§ãããªæãã®ãã£ã¬ã¯ããªæ§æã®å ´åã
_ignore_dir/*
ãusers/_ignore_path.ts
ãç¡è¦ããããªã¨æãã
è²ã
調ã¹ã¦ã¿ãã¨ãã®åå¿é²(*´Ïï½*)
routes/ _ignore_dir/ index.ts users/ _ignore_path.ts index.ts
ããã¥ã¡ã³ãã«ã¯ã¡ããã£ã¨æ¸ãã¦ãããã©ã
ignore
ãªãã·ã§ã³ãä»ãã°ããã£ã½ãã
使ãæ¹
使ãæ¹ã¯ãããªæããæ£è¦è¡¨ç¾ã使ããã£ã½ãã
//https://nitro.unjs.io/config export default defineNitroConfig({ srcDir: "server", // ignore: ["routes/**/_*", "routes/**/_*/*"], });
nitroã®ãã¹ãã³ã¼ããè¦ã¦ã¿ãã¨ã
ãããªæãã«æ¸ããã¦ããã®ã§ãroutes以å¤ã®
middlewareãpublic assetsãªã©ã対å¿ãã¦ãããã
ignore: [ "api/**/_*", "middleware/_ignored.ts", "routes/_*.ts", "**/_*.txt", "!**/_unignored.txt", ],
以ä¸!! ã ãã¶æ¸ãããããªã(*´Ïï½*)