This repository was archived by the owner on Feb 28, 2020. It is now read-only.
v7.0.0
Breaking Changes:
- babel has been upgraded to version 7. As part of this change we have updated the
.babelrcfile supplied by carbon-factory to ababel.config.js. We recommend you transform your.babelrcto reflect this change. The babel modules have changed in name format as well, this will effect your application if you directly reference any of these. For example you might be importing babel's polyfills withimport 'babel-polyfill';, this should be changed toimport '@babel/polyfill';. For more information on the babel upgrade please see the official documentation: https://babeljs.io/docs/en/v7-migration
Other Updates:
- Added support to the webpack config to enable code splitting. See the React docs for more information.
- Enabled source maps for production, these will get generated as an external file with the extension
.js.map. To enable these turn them on withproductionSourcemaps: truein the webpack config. Please note that you should only enable these if you can ensure they're not publicly accessible.