MCPcopy
hub / github.com/nestjs/nest / cleanOutput

Function cleanOutput

tools/gulp/tasks/clean.ts:9–21  ·  view source on GitHub ↗

* Cleans the build output assets from the packages folders

()

Source from the content-addressed store, hash-verified

7 * Cleans the build output assets from the packages folders
8 */
9function cleanOutput() {
10 return src(
11 [
12 `${source}/**/*.js`,
13 `${source}/**/*.d.ts`,
14 `${source}/**/*.js.map`,
15 `${source}/**/*.d.ts.map`,
16 ],
17 {
18 read: false,
19 },
20 ).pipe(clean());
21}
22
23/**
24 * Cleans empty dirs

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.45

Tested by

no test coverage detected