chore: improve build output (#2258)
This commit is contained in:
committed by
Shawn Erquhart
parent
54fde06050
commit
f5e148f9a7
@ -3,6 +3,15 @@ import './backends';
|
||||
import './widgets';
|
||||
import './editor-components';
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
/**
|
||||
* Log the version number.
|
||||
*/
|
||||
if (typeof NETLIFY_CMS_APP_VERSION === 'string') {
|
||||
console.log(`netlify-cms-app ${NETLIFY_CMS_APP_VERSION}`);
|
||||
}
|
||||
}
|
||||
|
||||
export const NetlifyCmsApp = {
|
||||
...CMS,
|
||||
};
|
||||
|
Reference in New Issue
Block a user