Skip to content

Commit

Permalink
chore(lite): use lite build
Browse files Browse the repository at this point in the history
fixes #1024 by forcing to load /lite and avoid bad resolve of the
browser field.

This could break if people were using search.client to do things like
indexing. But we do document this as an API entry. We only have an
infinite scroll tutorial using the client passed to the helper. Thus I
had to make browse and browseFrom part of the lite build.
  • Loading branch information
vvo committed May 26, 2016
1 parent 962c42f commit da47396
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
24 changes: 22 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"webpack-dev-server": "^1.14.1"
},
"dependencies": {
"algoliasearch": "^3.14.4",
"algoliasearch": "^3.14.5",
"algoliasearch-helper": "^2.9.0",
"classnames": "^2.2.5",
"events": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/InstantSearch.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import algoliasearch from 'algoliasearch';
import algoliasearch from 'algoliasearch/lite';
import algoliasearchHelper from 'algoliasearch-helper';
import forEach from 'lodash/collection/forEach';
import merge from 'lodash/object/merge';
Expand Down

0 comments on commit da47396

Please sign in to comment.