Skip to content

Commit

Permalink
path resolver (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
isereb authored Oct 7, 2024
1 parent 11e7291 commit 10b8f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/pathResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function updatePaths(path) {
file = file.replace(/\@Server/gm, `${relativePath}main/server`);
file = file.replace(/\@Client/gm, `${relativePath}main/client`);
file = file.replace(/\@Shared/gm, `${relativePath}main/shared`);
file = file.replace(/\@Plugins/gm, `${relativePath}plugins`);
fs.writeFileSync(path, file);
}

Expand Down

0 comments on commit 10b8f50

Please sign in to comment.