Helper package to nolyfill (invalidate) mathjs
from white-web-sdk
's dependencies.
Because mathjs
is used to render the legacy PPT. Using this package can be
helpful when you do not want to use legacy PPT and to include mathjs
in your final bundle.
Edit your package.json
.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides
{
"overrides": {
"white-web-sdk": {
"mathjs": "npm:@netless/[email protected]"
}
}
}
Then run npm install
.
https://pnpm.io/package_json#pnpmoverrides
{
"pnpm": {
"overrides": {
"white-web-sdk>mathjs": "npm:@netless/[email protected]"
}
}
}
Then run pnpm install
.
https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/#toc-how-to-use-it
{
"resolutions": {
"white-web-sdk/mathjs": "npm:@netless/[email protected]"
}
}
Then run yarn install
.
MIT @ netless