File
Blob: src/node/BUILD.bazel
| 1 | load("@workerd//:build/wd_ts_bundle.bzl", "wd_ts_bundle") |
| 2 | |
| 3 | wd_ts_bundle( |
| 4 | name = "node", |
| 5 | eslintrc_json = "eslint.config.mjs", |
| 6 | gen_compile_cache = True, |
| 7 | import_name = "node", |
| 8 | internal_modules = glob([ |
| 9 | "internal/*.ts", |
| 10 | "internal/*.js", |
| 11 | ]), |
| 12 | modules = glob([ |
| 13 | "*.ts", |
| 14 | "assert/*.ts", |
| 15 | "dns/*.ts", |
| 16 | "fs/*.ts", |
| 17 | "inspector/*.ts", |
| 18 | "path/*.ts", |
| 19 | "readline/*.ts", |
| 20 | "stream/*.js", |
| 21 | "timers/*.ts", |
| 22 | "util/*.ts", |
| 23 | ]), |
| 24 | schema_id = "0xbcc8f57c63814005", |
| 25 | tsconfig_json = "tsconfig.json", |
| 26 | deps = ["//:node_modules/@types/node"], |
| 27 | ) |