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 fdfd59a commit 7c1e13eCopy full SHA for 7c1e13e
1 file changed
src/index.ts
@@ -346,6 +346,8 @@ export async function build(_options: Options) {
346
}),
347
])
348
349
+ copyPublicDir(options.publicDir, options.outDir)
350
+
351
if (options.onSuccess) {
352
if (typeof options.onSuccess === 'function') {
353
onSuccessCleanup = await options.onSuccess()
@@ -445,7 +447,6 @@ export async function build(_options: Options) {
445
447
logger.info('CLI', `Target: ${options.target}`)
446
448
449
await buildAll()
- copyPublicDir(options.publicDir, options.outDir)
450
451
startWatcher()
452
}
0 commit comments