feat: expose CMS moment (#3458)

This commit is contained in:
Erez Rokah 2020-03-22 15:18:19 +02:00 committed by GitHub
parent d4350e50e2
commit cd324b08f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
import { NetlifyCmsCore as CMS } from 'netlify-cms-core';
import moment from 'moment';
import './extensions.js';
// Log version
@ -10,5 +11,6 @@ if (typeof window !== 'undefined') {
export const NetlifyCmsApp = {
...CMS,
moment,
};
export default CMS;