Merge pull request #2454 from frebib/fix-2453

Fix non-Windows builds. Fixes #2453
pull/2455/head
Jamie 6 years ago committed by GitHub
commit 94a1f3a00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ function getEnvOptions() {
function webpack(type) { function webpack(type) {
// 'webpack' instead of direct path can cause https://github.com/angular/angular-cli/issues/6417 // 'webpack' instead of direct path can cause https://github.com/angular/angular-cli/issues/6417
return run(`node node_modules\\webpack\\bin\\webpack.js --config webpack.config${type ? `.${type}` : ""}.ts${getEnvOptions()}`).exec(); return run(`node ${path.join('node_modules', 'webpack', 'bin', 'webpack.js')} --config webpack.config${type ? `.${type}` : ""}.ts${getEnvOptions()}`).exec();
} }
gulp.task("vendor", () => { gulp.task("vendor", () => {

Loading…
Cancel
Save