Skip to content

Conversation

@jaeh
Copy link
Contributor

@jaeh jaeh commented May 18, 2018

i am using the library in an mjs codebase built with rollup and without one of those fields (depending on the rollup-plugin-resolve config, thats why i added both) the config might break. this means without the fields one would need to

import Big from 'big.js/big.mjs'

because the mjs module can not be resolved.

@MikeMcl
Copy link
Owner

MikeMcl commented May 18, 2018

Okay, just the module field please.

The property jsnext:main is now deprecated. It was superseded by module.

remove jsnext:main
@MikeMcl MikeMcl merged commit 12a9eac into MikeMcl:master May 19, 2018
@MikeMcl
Copy link
Owner

MikeMcl commented May 19, 2018

Thank you.

@MikeMcl
Copy link
Owner

MikeMcl commented May 19, 2018

Although, I just did the same to bignumber.js and it seems to have caused problems. Any comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants