fix: preserve symlinks
This commit is contained in:
parent
eab14244b4
commit
04897be0f6
|
@ -34,7 +34,7 @@ config.module.rules[1].use.options.paths.push(
|
||||||
config.module.rules[2].use.options.paths.push(
|
config.module.rules[2].use.options.paths.push(
|
||||||
path.resolve(__dirname, 'server'),
|
path.resolve(__dirname, 'server'),
|
||||||
);
|
);
|
||||||
const nodeArgs = [];
|
const nodeArgs = ['--preserve-symlinks'];
|
||||||
if (process.argv.find((arg) => '--prof' === arg)) {
|
if (process.argv.find((arg) => '--prof' === arg)) {
|
||||||
nodeArgs.push('--prof');
|
nodeArgs.push('--prof');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user