You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sourcemaps are broken on the npm module for @aave/math-utils b/c the source files cannot be found.
Steps to reproduce
Install @aave/math-utils in a project:
npm i @aave/math-utils
Import it into a Vite-based project (or some other bundler / build famework) with sourcemaps enabled
Run your project in dev mode:
npm run dev
View sources in browser dev tools – note that sourcemaps did not load
Also note error output when running tests (I'm using vitest):
Sourcemap for "/Users/ken/Code/tradingstrategy/frontend/node_modules/@aave/math-utils/dist/esm/index.js" points to missing source files
[ similar error messages for other files ]
Expected behavior
Source files can be inspected; tests run without sourcemap errors.
Environment
OS: macOS Ventura 13.5.1
Node/npm version: v18.14.2
Browser: Chrome 116.0.5845.140
Additional context / screenshots
The text was updated successfully, but these errors were encountered:
Bug Report
@aave/math-utils / 1.20.0
Description
Sourcemaps are broken on the
npm
module for@aave/math-utils
b/c the source files cannot be found.Steps to reproduce
@aave/math-utils
in a project:vitest
):Expected behavior
Source files can be inspected; tests run without sourcemap errors.
Environment
Additional context / screenshots
The text was updated successfully, but these errors were encountered: