Why `require('sha.js')` gives me another node module once deployed?

前端 未结 0 1470
刺人心
刺人心 2021-02-13 09:36

In my code, I use jsonwebtoken to tokenify some JSON:

import jwt from \'jsonwebtoken\'
...
const token = jwt.sign(myJson, mySecret)

Locally, I ha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题