Closed brickyang closed 6 years ago
buildPath.replace(baseDir) needs second argument '', otherwise it will replace the baseDir with undefined.
buildPath.replace(baseDir)
''
baseDir
undefined
buildPath.replace(baseDir)
needs second argument''
, otherwise it will replace thebaseDir
withundefined
.