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 0dbb0e5 commit 28bb440Copy full SHA for 28bb440
src/bin/readPublicDirPath.ts
@@ -34,7 +34,7 @@ export async function readPublicDirPath(params: { projectDirPath: string }): Pro
34
if (
35
!viteConfig
36
.split(/\r?\n/)
37
- .filter(line => !line.startsWith("//"))
+ .filter(line => !line.trim().startsWith("//"))
38
.join("\n")
39
.includes("publicDir")
40
) {
0 commit comments