Skip to content

Commit

Permalink
Merge pull request #191 from jlami/bundle-find
Browse files Browse the repository at this point in the history
Bundle find
  • Loading branch information
broerse authored Sep 6, 2017
2 parents 7e9dfc1 + 4c1fa6d commit d76bcc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ module.exports = {
files: ['pouchdb.relational-pouch.js']
});

var pouchdbFind = stew.find(path.join(path.dirname(require.resolve('pouchdb-find')), '..', 'dist'), {
destDir: 'pouchdb',
files: ['pouchdb.find.js']
});

var shims = stew.find(__dirname + '/vendor/pouchdb', {
destDir: 'pouchdb',
files: ['shims.js']
Expand All @@ -41,15 +36,13 @@ module.exports = {
return stew.find([
pouchdb,
relationalPouch,
pouchdbFind,
shims
]);
},

included(app) {
app.import('vendor/pouchdb/pouchdb.js');
app.import('vendor/pouchdb/pouchdb.relational-pouch.js');
app.import('vendor/pouchdb/pouchdb.find.js');
app.import('vendor/pouchdb/shims.js', {
exports: { 'pouchdb': [ 'default' ]}
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-pouch",
"version": "4.2.9",
"version": "4.3.0",
"description": "PouchDB adapter for Ember Data",
"directories": {
"doc": "doc",
Expand Down Expand Up @@ -59,7 +59,7 @@
"dependencies": {
"broccoli-stew": "^1.3.1",
"pouchdb": "^6.3.4",
"relational-pouch": "1.4.5",
"relational-pouch": "^2.0.0",
"ember-cli-babel": "^6.3.0"
},
"engines": {
Expand Down

0 comments on commit d76bcc4

Please sign in to comment.