I\'d like to use react.min.js from a CDN in production (e.g. https://unpkg.com/react@15.3.1/dist/react.min.js)
react.min.js
What is the best way to get Webpack to tr
In your webpack config you can use the externals option which will import the module from the environment instead of trying to resolve it normally:
externals
// webpack.config.js module.exports = { externals: { 'react': 'React' } ... };
Read more here: https://webpack.js.org/configuration/externals/