🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
8
node_modules/astro/dist/cli/build/index.d.ts
generated
vendored
Normal file
8
node_modules/astro/dist/cli/build/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
import type yargs from 'yargs-parser';
|
||||
import type { LogOptions } from '../../core/logger/core.js';
|
||||
interface BuildOptions {
|
||||
flags: yargs.Arguments;
|
||||
logging: LogOptions;
|
||||
}
|
||||
export declare function build({ flags, logging }: BuildOptions): Promise<void>;
|
||||
export {};
|
16
node_modules/astro/dist/cli/build/index.js
generated
vendored
Normal file
16
node_modules/astro/dist/cli/build/index.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
import _build from "../../core/build/index.js";
|
||||
import { loadSettings } from "../load-settings.js";
|
||||
async function build({ flags, logging }) {
|
||||
const settings = await loadSettings({ cmd: "build", flags, logging });
|
||||
if (!settings)
|
||||
return;
|
||||
await _build(settings, {
|
||||
flags,
|
||||
logging,
|
||||
teardownCompiler: true,
|
||||
mode: flags.mode
|
||||
});
|
||||
}
|
||||
export {
|
||||
build
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue