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

@ -1,7 +1,12 @@
import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ValidationErrorTypes from 'netlify-cms-core/src/constants/validationErrorTypes';
const ValidationErrorTypes = {
PRESENCE: 'PRESENCE',
PATTERN: 'PATTERN',
RANGE: 'RANGE',
CUSTOM: 'CUSTOM',
};
export default class NumberControl extends React.Component {
static propTypes = {