Skip to content

Commit aa8dc95

Browse files
Merge pull request #5015 from NativeScript/vladimirov/fix-args-webpack
fix: pass preserve-symlinks correctly
2 parents c1e47cb + 46ffb7c commit aa8dc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/webpack/webpack-compiler-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp
139139

140140
const args = [
141141
...additionalNodeArgs,
142-
path.join(projectData.projectDir, "node_modules", "webpack", "bin", "webpack.js"),
143142
"--preserve-symlinks",
143+
path.join(projectData.projectDir, "node_modules", "webpack", "bin", "webpack.js"),
144144
`--config=${path.join(projectData.projectDir, "webpack.config.js")}`,
145145
...envParams
146146
];

0 commit comments

Comments
 (0)