34c8c2ad70
When loading Netlify CMS via script tag from a CDN, the file was named `cms.js` until 2.0, when it was renamed to `netlify-cms.js` in alignment with all packages outputting files that match the package name. To avoid a lot of broken sites and confusion, this commit outputs both filenames and prints a deprecation warning to the console in `cms.js` only.
2 lines
134 B
JavaScript
2 lines
134 B
JavaScript
console.warn('The `cms.js` file is deprecated and will be removed in the next major release. Please use `netlify-cms.js` instead.');
|