Skip to content

Commit

Permalink
Fixed build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Aug 17, 2024
1 parent d1444b0 commit e908505
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GuildWarsPartySearch.NodeJSServer/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ export default defineConfig({
closeBundle: async () => {
['tiles','resources','cards'].forEach((folder) => {
const from = path.join(__dirname,'src',folder);
if(!fs.existsSync(from))
fs.cpSync(from, path.join(__dirname,'dist',folder), {recursive: true});
const to = path.join(__dirname,'dist',folder);
if(!fs.existsSync(to))
fs.cpSync(from, to, {recursive: true});
});
}
},
Expand Down

0 comments on commit e908505

Please sign in to comment.