throw new Error("'output.filename' is required, either in config file or as --output-filename"); 為什么呢
齒魚回答:module.exports 寫成了module.export
配置less文件時Module build failed: TypeError: loaderContext.getResolve is not a function
會報錯因為版本太高,在配置文件里手動將less改為3.9.0,less-loaderl版本改成5.0.0,再npm install重新下載,再npm rub build