feat: add ES module builds (#2215)

This commit is contained in:
Tony Alves
2019-03-22 08:24:46 -07:00
committed by Shawn Erquhart
parent 7672f2ae27
commit d142b32345
38 changed files with 211 additions and 77 deletions

View File

@ -23,9 +23,7 @@ function bootstrap(opts = {}) {
/**
* Log the version number.
*/
if (NETLIFY_CMS_VERSION) {
console.log(`netlify-cms ${NETLIFY_CMS_VERSION}`);
} else if (NETLIFY_CMS_CORE_VERSION) {
if (typeof NETLIFY_CMS_CORE_VERSION === 'string') {
console.log(`netlify-cms-core ${NETLIFY_CMS_CORE_VERSION}`);
}