File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
curriculum/challenges/english/25-front-end-development/lab-color-picker
tools/client-plugins/browser-scripts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ async () => {
170170 < meta charset= " UTF-8" / >
171171 < title> Color Picker< / title>
172172 < link rel= " stylesheet" href= " styles.css" / >
173- < script src= " https://unpkg. com/react@18 /umd/react.development.js" >< / script>
174- < script src= " https://unpkg. com/react-dom@18 /umd/react-dom.development.js" >< / script>
175- < script src= " https://unpkg. com/@babel/ standalone/babel.min.js" >< / script>
173+ < script src= " https://cdnjs.cloudflare. com/ajax/libs/ react/18.3.1 /umd/react.development.min .js" >< / script>
174+ < script src= " https://cdnjs.cloudflare. com/ajax/libs/ react-dom/18.3.1 /umd/react-dom.development.min .js" >< / script>
175+ < script src= " https://cdnjs.cloudflare. com/ajax/libs/babel- standalone/7.26.5 /babel.min.js" >< / script>
176176 < script
177177 data- plugins= " transform-modules-umd"
178178 type= " text/babel"
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ module.exports = (env = {}) => {
9292 } ,
9393 // To keep the client React version decoupled from the curriculum React
9494 // version we use externals to stops Webpack from bundling React and
95- // ReactDOM (they're fetched from unpkg when needed by the client or
95+ // ReactDOM (they're fetched from the cdn when needed by the client or
9696 // curriculum tests). react-dom/server and react-dom/test-utils are included
9797 // separately because enzyme-adapter-react-16 imports them directly.
9898 externals : {
You can’t perform that action at this time.
0 commit comments