I make a mistake.
My lib
folder already existed a index.js
file that path is: project_root/lib/index.js
and the main
in package.json is "lib/index.js"
, but my TypeScript file path is project_root/src/index.ts
so I always deployed same/old file to my Firebase, Oh my God...
So I changed "main": "lib/index.js"
-> "main": "lib/src/index.js"
to fix this issue.