How can i use module from npm install?

i use cocos creator 2.4.13
and import bignumber.js 9.1.2 (npm)

i can play in editor

but i cant build for web-mobile

how can i use node_modules/bignumber.js for build??

help please

show us the test code of how you use the bignumber.js

i use like this