mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Removed NPX from webpack bin call (#728)
This commit is contained in:
parent
893293e825
commit
4b7b864a73
@ -207,10 +207,9 @@ class MixCompile extends Command
|
||||
$command = $this->argument('webpackArgs') ?? [];
|
||||
array_unshift(
|
||||
$command,
|
||||
'npx',
|
||||
'webpack',
|
||||
$basePath . sprintf('%1$snode_modules%1$s.bin%1$swebpack', DIRECTORY_SEPARATOR),
|
||||
'build',
|
||||
'--progress',
|
||||
$this->option('silent') ? '--stats=none' : '--progress',
|
||||
'--config=' . $this->getWebpackJsPath($mixJsPath)
|
||||
);
|
||||
return $command;
|
||||
|
Loading…
x
Reference in New Issue
Block a user