UNPKG

323 BJavaScriptView Raw
1/* eslint fp/no-mutation:0,import/no-commonjs:0 */
2
3const log = (first, ...params) => {
4 // eslint-disable-next-line fp/no-unused-expression
5 console.info(first, ...params)
6 return first
7}
8
9const webpack = config =>
10 log(
11 {
12 ...config,
13 cache: false,
14 },
15 'config'
16 )
17
18module.exports = { webpack }