fix: preserve symlinks

This commit is contained in:
cha0s 2019-05-25 09:12:18 -05:00
parent eab14244b4
commit 04897be0f6

View File

@ -34,7 +34,7 @@ config.module.rules[1].use.options.paths.push(
config.module.rules[2].use.options.paths.push(
path.resolve(__dirname, 'server'),
);
const nodeArgs = [];
const nodeArgs = ['--preserve-symlinks'];
if (process.argv.find((arg) => '--prof' === arg)) {
nodeArgs.push('--prof');
}