Skip to content
Snippets Groups Projects
Commit 15aca739 authored by Mathias Maaß's avatar Mathias Maaß Committed by Chris Beer
Browse files

do not import manifest es modules directly

parent dd1254af
No related branches found
No related tags found
No related merge requests found
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { compose } from 'redux'; import { compose } from 'redux';
import { withTranslation } from 'react-i18next'; import { withTranslation } from 'react-i18next';
import { Utils } from 'manifesto.js/dist-esmodule/Utils'; import { Utils } from 'manifesto.js';
import { withPlugins } from '../extend/withPlugins'; import { withPlugins } from '../extend/withPlugins';
import * as actions from '../state/actions'; import * as actions from '../state/actions';
import { import {
... ...
......
import { import {
all, call, put, select, takeEvery, delay, all, call, put, select, takeEvery, delay,
} from 'redux-saga/effects'; } from 'redux-saga/effects';
import { Utils } from 'manifesto.js/dist-esmodule/Utils'; import { Utils } from 'manifesto.js';
import flatten from 'lodash/flatten'; import flatten from 'lodash/flatten';
import ActionTypes from '../actions/action-types'; import ActionTypes from '../actions/action-types';
import MiradorCanvas from '../../lib/MiradorCanvas'; import MiradorCanvas from '../../lib/MiradorCanvas';
... ...
......
...@@ -2,7 +2,7 @@ import { ...@@ -2,7 +2,7 @@ import {
all, call, put, select, takeEvery, all, call, put, select, takeEvery,
} from 'redux-saga/effects'; } from 'redux-saga/effects';
import fetch from 'isomorphic-unfetch'; import fetch from 'isomorphic-unfetch';
import { Utils } from 'manifesto.js/dist-esmodule/Utils'; import { Utils } from 'manifesto.js';
import normalizeUrl from 'normalize-url'; import normalizeUrl from 'normalize-url';
import ActionTypes from '../actions/action-types'; import ActionTypes from '../actions/action-types';
import { import {
... ...
......
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import { Utils } from 'manifesto.js/dist-esmodule/Utils'; import { Utils } from 'manifesto.js';
import flatten from 'lodash/flatten'; import flatten from 'lodash/flatten';
import MiradorCanvas from '../../lib/MiradorCanvas'; import MiradorCanvas from '../../lib/MiradorCanvas';
import { miradorSlice } from './utils'; import { miradorSlice } from './utils';
... ...
......
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import createCachedSelector from 're-reselect'; import createCachedSelector from 're-reselect';
import { PropertyValue } from 'manifesto.js/dist-esmodule/PropertyValue'; import { PropertyValue, Utils } from 'manifesto.js';
import { Utils } from 'manifesto.js/dist-esmodule/Utils';
import getThumbnail from '../../lib/ThumbnailFactory'; import getThumbnail from '../../lib/ThumbnailFactory';
import asArray from '../../lib/asArray'; import asArray from '../../lib/asArray';
import { getCompanionWindow } from './companionWindows'; import { getCompanionWindow } from './companionWindows';
... ...
......
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import union from 'lodash/union'; import union from 'lodash/union';
import without from 'lodash/without'; import without from 'lodash/without';
import { Utils } from 'manifesto.js/dist-esmodule/Utils'; import { Utils } from 'manifesto.js';
import { getVisibleCanvasIds } from './canvases'; import { getVisibleCanvasIds } from './canvases';
import { getCompanionWindow } from './companionWindows'; import { getCompanionWindow } from './companionWindows';
import { getSequenceTreeStructure } from './sequences'; import { getSequenceTreeStructure } from './sequences';
... ...
......
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import { PropertyValue } from 'manifesto.js/dist-esmodule/PropertyValue'; import { PropertyValue } from 'manifesto.js';
import flatten from 'lodash/flatten'; import flatten from 'lodash/flatten';
import AnnotationList from '../../lib/AnnotationList'; import AnnotationList from '../../lib/AnnotationList';
import { getCanvas, getCanvases } from './canvases'; import { getCanvas, getCanvases } from './canvases';
... ...
......
import { createSelector } from 'reselect'; import { createSelector } from 'reselect';
import { TreeNode } from 'manifesto.js/dist-esmodule/TreeNode'; import { TreeNode } from 'manifesto.js';
import { import {
getManifestoInstance, getManifestoInstance,
} from './manifests'; } from './manifests';
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment