Make View and Index requireable.
This commit is contained in:
parent
59dbee8f28
commit
f5d5b5efc0
1
packages/xo-collection/index.js
Normal file
1
packages/xo-collection/index.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('./dist/index')
|
@ -1,6 +1,6 @@
|
||||
/* eslint-env mocha */
|
||||
|
||||
import Collection, {DuplicateItem, NoSuchItem} from './collection'
|
||||
import Collection, {DuplicateItem, NoSuchItem} from '..'
|
||||
|
||||
import eventToPromise from 'event-to-promise'
|
||||
import forEach from 'lodash.foreach'
|
||||
|
@ -11,8 +11,8 @@ import forEach from 'lodash.foreach'
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
import Collection from './collection'
|
||||
import Index from './index'
|
||||
import Collection from '..'
|
||||
import Index from '../index'
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import forEach from 'lodash.foreach'
|
||||
|
||||
import Collection from './collection'
|
||||
import View from './view'
|
||||
import Collection from '..'
|
||||
import View from '../view'
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
1
packages/xo-collection/view.js
Normal file
1
packages/xo-collection/view.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('./dist/view')
|
Loading…
Reference in New Issue
Block a user