| 1 | load("@npm_splitfire//next:index.bzl", "next") |
| 2 | |
| 3 | next( |
| 4 | name = "next-build", |
| 5 | data = glob([ |
| 6 | "app/**", |
| 7 | "public/**", |
| 8 | ]) + [ |
| 9 | "tsconfig.json", |
| 10 | "tailwind.config.ts", |
| 11 | "next.config.mjs", |
| 12 | "postcss.config.mjs", |
| 13 | ], |
| 14 | templated_args = ["build"], |
| 15 | ) |
| 16 | |
| 17 | next( |
| 18 | name = "next-dev", |
| 19 | data = glob(["**"]), |
| 20 | templated_args = ["dev"], |
| 21 | ) |