We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I was trying to use Decimal.js within a project which uses commonjs as module resolution.
Unfortunately the ".js" suffix makes the resolver go crazy as it thinks require('decimal.js'); is a require for a file within the folder.
require('decimal.js');
You can read more about the spec here: http://wiki.commonjs.org/wiki/Modules/1.1
1. The "require" function accepts a module identifier. ... ... Module identifiers may not have file-name extensions like ".js".
The text was updated successfully, but these errors were encountered:
The library is unlikely to be renamed at this point.
What commonjs implementation are you using?
Sorry, something went wrong.
No branches or pull requests
Hello,
I was trying to use Decimal.js within a project which uses commonjs as module resolution.
Unfortunately the ".js" suffix makes the resolver go crazy as it thinks
require('decimal.js');
is a require for a file within the folder.You can read more about the spec here: http://wiki.commonjs.org/wiki/Modules/1.1
The text was updated successfully, but these errors were encountered: