Skip to content

Commit

Permalink
fix(meteorjs): lite build must point to the browser lite
Browse files Browse the repository at this point in the history
fixes #1024

Actually I had previously fixed #1024 by pointing to the lite build
(side effect).

But since https://github.com/algolia/algoliasearch-client-
js/issues/283 I had to make the client nodejs lite build point to the
nodejs normal build.

Then it would have tried to use the nodejs build in meteorjs on the
frontend.

Please meteorjs, fix this :)
  • Loading branch information
vvo committed Jun 16, 2016
1 parent c343844 commit a94e53f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/InstantSearch.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import algoliasearch from 'algoliasearch/lite';
// we use the fullpath to the lite build to solve a meteor.js issue:
// https://github.com/algolia/instantsearch.js/issues/1024#issuecomment-221618284
import algoliasearch from 'algoliasearch/src/browser/builds/algoliasearchLite.js';
import algoliasearchHelper from 'algoliasearch-helper';
import forEach from 'lodash/collection/forEach';
import merge from 'lodash/object/merge';
Expand Down

0 comments on commit a94e53f

Please sign in to comment.