Skip to content

Commit

Permalink
fix install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aflansburg committed Jul 31, 2024
1 parent 3149bc6 commit b8e877f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions build-scripts/copyData.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ function copyFolderSync(from, to) {

const srcDir = path.join(__dirname, '..', 'data');
const destDirDist = path.join(__dirname, '..', 'dist', 'data');
const destDirPublic = path.join(__dirname, '..', 'public', 'data');

copyFolderSync(srcDir, destDirDist);
copyFolderSync(srcDir, destDirPublic);

console.log('Data files copied to dist and public directories');
4 changes: 2 additions & 2 deletions build-scripts/copyDataToPublic.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function copyFolderSync(from, to) {
});
}

const srcDir = path.join(__dirname, '..', 'dist', 'data');
const destDir = path.join(__dirname, '..', '..', 'public', 'data');
const srcDir = path.join(__dirname, '..', 'data');
const destDir = path.join(__dirname, '..', 'public', 'data');

copyFolderSync(srcDir, destDir);

Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8e877f

Please sign in to comment.