Closed justingrant closed 4 years ago
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Yes, still relevant. Waiting for a maintainer to review.
~Hey @justingrant. Forked the project here, overhauled the build/publication process and actively accepting PRs:~
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Yes, still relevant. Waiting for a maintainer to review.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Yes, still relevant. Waiting for a maintainer to review.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Yes, still relevant. Waiting for a maintainer to review.
Thanks for this amazing PR, @justingrant ! (Seriously, kudos for the level of explanation)
Sorry for the long delay - I started a new job and got slammed.
No worries, thanks @alampros for the kind words!
:tada: This PR is included in version 5.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
react-confetti
's sourcemaps don't actually point to source files in the sourcemap'ssources
array. This causes a few problems:source-map-loader
.This PR fixes these problems by making the following changes:
src/
to the files published to the npm registryWith these changes made, client devs can view and set breakpoints in the actual TS source code of this library. FWIW, this PR is analogous to similar PRs merged into aws-amplify, react-router, swiper, libphonenumber-js, etc.
Here's what the start of react-confetti.js.map looks like in the current version, with line breaks added for clarity:
Those paths don't exist on disk, and the webpack:// prefix is not recognized by webpack itself (when this library is being bundled into an app).
Here's what it looks like after this PR:
All the paths that point to actual source files have been updated to point to actual locations on disk where the files will be on the developer's machine after this library is installed.
webpack/universalModuleDefinition
,webpack/bootstrap
, andexternal ...
aren't real files, but they don't cause warnings at build time or runtime, so they're OK.BTW I wasn't sure if I should base my branch on
develop
or onmaster
, so I based it onmaster
. If you want it to be on top ofdevelop
instead, just let me know and I can open a new PR with that basing.