Skip to content

Commit

Permalink
fix: symlink node_modules with junction points on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryKlugerDS committed Sep 5, 2021
1 parent fbd1368 commit e993252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .erb/scripts/link-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import {
} from '../configs/webpack.paths.js';

if (!fs.existsSync(srcNodeModulesPath) && fs.existsSync(appNodeModulesPath)) {
fs.symlinkSync(appNodeModulesPath, srcNodeModulesPath);
fs.symlinkSync(appNodeModulesPath, srcNodeModulesPath, 'junction');
}

0 comments on commit e993252

Please # to comment.