Skip to content
New issue

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

NPM release:remove sourceMappingURL #1509

Open
1 task done
juntaosun opened this issue Jan 26, 2023 · 0 comments
Open
1 task done

NPM release:remove sourceMappingURL #1509

juntaosun opened this issue Jan 26, 2023 · 0 comments
Labels
question Question, clarification, discussion

Comments

@juntaosun
Copy link

juntaosun commented Jan 26, 2023

Has the question been asked before?

  • I have searched the existing issues

Question

Unable to read /node_modules/.store/music-metadata@8.1.3/node_modules/music-metadata/lib/matroska/types.js Source map: ENOENT: no such file or directory, open '\node_modules.store\music-metadata@8.1.3\node_modules\music-metadata\lib\matroska \types.js.map'

//# sourceMappingURL=types.js.map

"npm install music-metadata"
After installation, there is a description of sourceMappingURL at the end of the file in the lib directory.
I hope to remove it when the version is released.
path:
. /node_modules/.store/music-metadata@8.1.3/node_modules/music-metadata/lib/**
remove all //# sourceMappingURL=**

NPM release (next time),
tsconfig.json add :
"sourceMap": false,

thanks!

@juntaosun juntaosun added the question Question, clarification, discussion label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question, clarification, discussion
Projects
None yet
Development

No branches or pull requests

1 participant