We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5637013 commit 085ddc8Copy full SHA for 085ddc8
packages/slidev/node/commands/build.ts
@@ -94,9 +94,10 @@ export async function build(
94
height: Math.round(options.data.config.canvasWidth / options.data.config.aspectRatio),
95
routerMode: options.data.config.routerMode,
96
waitUntil: 'networkidle',
97
- timeout: 30000,
+ timeout: args.timeout || 30000,
98
perSlide: true,
99
omitBackground: false,
100
+ dark: args.dark,
101
})
102
103
const tempFiles = await fs.readdir(tempDir)
0 commit comments