full site update
This commit is contained in:
7
node_modules/astro/dist/cli/build/index.js
generated
vendored
7
node_modules/astro/dist/cli/build/index.js
generated
vendored
@@ -9,6 +9,11 @@ async function build({ flags }) {
|
||||
tables: {
|
||||
Flags: [
|
||||
["--outDir <directory>", `Specify the output directory for the build.`],
|
||||
["--mode", `Specify the mode of the project. Defaults to "production".`],
|
||||
[
|
||||
"--devOutput",
|
||||
"Output a development-based build similar to code transformed in `astro dev`."
|
||||
],
|
||||
[
|
||||
"--force",
|
||||
"Clear the content layer and content collection cache, forcing a full rebuild."
|
||||
@@ -21,7 +26,7 @@ async function build({ flags }) {
|
||||
return;
|
||||
}
|
||||
const inlineConfig = flagsToAstroInlineConfig(flags);
|
||||
await _build(inlineConfig);
|
||||
await _build(inlineConfig, { devOutput: !!flags.devOutput });
|
||||
}
|
||||
export {
|
||||
build
|
||||
|
Reference in New Issue
Block a user