mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-04 09:05:49 -05:00
fix(curriculum): use cdnjs instead of unpkg (#60286)
This commit is contained in:
committed by
GitHub
parent
26b8ddf583
commit
8bc84191a4
@@ -92,7 +92,7 @@ module.exports = (env = {}) => {
|
||||
},
|
||||
// To keep the client React version decoupled from the curriculum React
|
||||
// version we use externals to stops Webpack from bundling React and
|
||||
// ReactDOM (they're fetched from unpkg when needed by the client or
|
||||
// ReactDOM (they're fetched from the cdn when needed by the client or
|
||||
// curriculum tests). react-dom/server and react-dom/test-utils are included
|
||||
// separately because enzyme-adapter-react-16 imports them directly.
|
||||
externals: {
|
||||
|
||||
Reference in New Issue
Block a user