import CalendarDay from './components/CalendarDay.jsx';
import CalendarEvent from './components/CalendarEvent.jsx';
import CalendarTitle from './components/CalendarTitle.jsx';
Those lines cause the NPM package to look for the JSX, which isn't in the NPM package. The following lines work:
import CalendarDay from './components/CalendarDay';
import CalendarEvent from './components/CalendarEvent';
import CalendarTitle from './components/CalendarTitle';
import CalendarDay from './components/CalendarDay.jsx'; import CalendarEvent from './components/CalendarEvent.jsx'; import CalendarTitle from './components/CalendarTitle.jsx';
Those lines cause the NPM package to look for the JSX, which isn't in the NPM package. The following lines work:
import CalendarDay from './components/CalendarDay'; import CalendarEvent from './components/CalendarEvent'; import CalendarTitle from './components/CalendarTitle';