lib/build/js.js
Function buildJs
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function buildJs (entries) {
return {
build: function () {
const log = newLog('js:build')
Function watch
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
watch: function () {
const log = newLog('js:watch')
const bs = Object.keys(entries).map(function (target) {
const opts = {