зеркало из https://github.com/microsoft/just.git
fix the default options
This commit is contained in:
Родитель
59ceee64ba
Коммит
bb3e3281a7
|
@ -26,7 +26,7 @@ export interface WebpackCliTaskOptions {
|
|||
* @param {Boolean=false} auto - to pass the --auto flag, which will generate a default webpack.config.js
|
||||
* @returns TaskFunction
|
||||
*/
|
||||
export function webpackCliTask(options?: WebpackCliTaskOptions): TaskFunction {
|
||||
export function webpackCliTask(options: WebpackCliTaskOptions = {}): TaskFunction {
|
||||
const webpackCliCmd = resolve('webpack-cli/bin/cli.js');
|
||||
|
||||
if (!webpackCliCmd) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче