crcn / sift.js

Use Mongodb queries in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Source Map wrong path

PakitoSec opened this issue · comments

Hello,

Is it possible to add source map at the right place ?
warning message with react-script V5.0.0

WARNING in ./node_modules/sift/es5m/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '.../client/node_modules/sift/src/core.ts' file: Error: ENOENT: no such file or directory, open '..../client/node_modules/sift/src/core.ts'

Thanks for your help,

I see. Looks like I just need to include the actual source code with the node module. Will push this change here in a sec.

Should be fixed in v16.0.0. Let me know if you're still running into this issue!