deno.land / x / ultra@v2.3.8 / build.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { crayon, outdent } from "./lib/build/deps.ts";import type { BuildOptions, BuildPlugin } from "./lib/build/types.ts";import { UltraBuilder } from "./lib/build/ultra.ts";
/** * Re-export these types as convenience to build plugin authors */export type { BuildPlugin };
export function createBuilder(options: Partial<BuildOptions>) { return new UltraBuilder(options, (builder) => { // deno-fmt-ignore console.log(outdent`\n You can now deploy the "${crayon.lightBlue(builder.context.output)}" output directory to a platform of your choice. Instructions for common deployment platforms can be found at ${crayon.green('https://ultrajs.dev/docs#deploying')}.\n Alternatively, you can cd into "${crayon.lightBlue(builder.context.output)}" and run: ${crayon.underline("deno task start")} `); });}
ultra

Version Info

Tagged at
7 months ago