Skip to content

Commit

Permalink
Fix Failed to load webpack config. error.
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Nov 19, 2022
1 parent eabe518 commit ffd8712
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Server/lib/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class ConcatPlugin{
const sourcePath = resolve(__dirname, "Web/lib");
const gameSourcePath = resolve(sourcePath, "kkutu");
const distributionPath = resolve(__dirname, "Web/public/js");
if(!File.existsSync(resolve(sourcePath, "in_game_kkutu.js")))
File.writeFileSync(resolve(sourcePath, "in_game_kkutu.js"));
const files = File.readdirSync(sourcePath, { withFileTypes: true })
.filter(u => u.isFile())
.map(u => u.name);
Expand Down

0 comments on commit ffd8712

Please sign in to comment.