when I study a vuejs example, I came across this line in a javascript file:
exports.getLastTimeStr = (time, friendly) => {
I only encountered javascript syntax such as "module.export" or "export default", I didn't see code like above. As a result, I got warning like:
11:15-20 "export 'default' (imported as 'utils') was not found in './libs/utils'
Googling led to this link: Using "Exports." in Javascript?
it appears to be a commonJS stuff but I was unable to go further from here, nor a solution was found.