-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
How do I exclude source map loading of a specific module? #2346
Comments
You could use |
@mischnic Could you link to the "previously noted"? Sorry to open a closed issue. |
It is in reference to the OP |
Reopening this, I don't see a way to exclude just one node_module package. Is there another solution that is not migrating to parcel 2? |
tash-2s
added a commit
to tash-2s/onchain-game-2019_archive
that referenced
this issue
Oct 5, 2023
parcel-bundler/parcel#2346 (comment) --- Original commit (web-client): ee8c248fcf87a4b355c5d1f38dc2c8a5b075366b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
Using
parcel@1.10.1
, run the following bash commands:You get a string of warnings like:
🤔 Expected Behavior
This is expected because that repo includes the source maps, but not the actual source. Is there, however, a way for me to turn off source-map-loading for that module?
😯 Current Behavior
I don’t see an option to set excludes on source map loading.
💁 Possible Solution
It appears in webpack, people use the
source-map-loader
plugin and with that, they can specify something like this:🔦 Context
It just leads to a really noisy console and makes me fearful that I’ll miss actual important warnings or errors.
💻 Code Sample
Setup in configuration.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: