Rename total.js to totaljs

156 Views Asked by At

Is there any problem if I change the name of total.js folder to totaljs, or I have to change some 'require' references?

Example: Rename Node_modules/total.js to node_modules/totaljs

1

There are 1 best solutions below

0
On BEST ANSWER

I don't see any problem to rename it. It will work, but you have to change the reference in require() to totaljs.