Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into merge/main
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Oct 27, 2024
2 parents 3c103ed + e1816e1 commit 06197ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/vite/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export function createDependencyChunksPlugin(dependencies: string[][]): Plugin {
outputConfig.assetFileNames = "assets/[name].[hash:6][extname]"
outputConfig.chunkFileNames = (chunkInfo) => {
return chunkInfo.name.startsWith("vendor/")
? "[name].[hash].js"
: "assets/[name].[hash:9].js"
? "[name].[hash:9].js"
: "assets/[name].[hash].js"
}

const manualChunks = Array.isArray(output) ? output[0].manualChunks : output.manualChunks
Expand Down

0 comments on commit 06197ba

Please sign in to comment.