Skip to content

Commit e6b92df

Browse files
committed
fix(qwik-city): remove double assetsDir on bundle close of staticPaths
1 parent 38429a1 commit e6b92df

File tree

1 file changed

+1
-2
lines changed
  • packages/qwik-city/src/buildtime/vite

1 file changed

+1
-2
lines changed

packages/qwik-city/src/buildtime/vite/plugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,9 @@ function qwikCityPlugin(userOpts?: QwikCityVitePluginOptions): any {
277277
const clientOutDir = qwikPlugin!.api.getClientOutDir();
278278

279279
if (outDir && clientOutDir) {
280-
const assetsDir = qwikPlugin!.api.getAssetsDir();
281280
const { staticPathsCode, notFoundPathsCode } = await postBuild(
282281
clientOutDir,
283-
assetsDir ? join(api.getBasePathname(), assetsDir) : api.getBasePathname(),
282+
api.getBasePathname(),
284283
[],
285284
ssrFormat,
286285
false

0 commit comments

Comments
 (0)