-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
Description
What version of React Router are you using?
6.4.0
Steps to Reproduce
Linking to UNPKG.com using a version of @6 with the standard old script link urls of:
<!-- Load React Router and React Router DOM -->
<script src="https://unpkg.com/react-router@6/umd/react-router.development.js" crossorigin></script>
<script src="https://unpkg.com/react-router-dom@6/umd/react-router-dom.development.js" crossorigin></script>
is broken (404's)
the path on UNPKG of /umd which was present up to 6.3 is now /dist/umd in 6.4.0
so all script references to the old CDN path structure lead to 404's and apps breaking
I'm not sure if you guys manage the UNPKG releases or how that works but my app just broke fully a few minutes ago when 6.4.0 launched.
TEMPFIX: changed my link to ... @6.3/umd/ ...
Expected Behavior
Expect 6.4.0 to load at https://unpkg.com/react-router@6/umd/react-router.development.js
Actual Behavior
Server returns a 404 due to path change including /dist folder