Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
perf(store): use Algolia light client
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed May 27, 2017
1 parent 626be75 commit 4a58b57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/rollup.cjs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import json from 'rollup-plugin-json';

export default {
entry: 'src/instantsearch.js',
external: ['algoliasearch', 'algoliasearch-helper', 'escape-html'],
external: ['algoliasearch/lite', 'algoliasearch-helper', 'escape-html'],
exports: 'named',
plugins: [
vue({ compileTemplate: true, css: false }),
Expand Down
2 changes: 1 addition & 1 deletion build/rollup.es.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import json from 'rollup-plugin-json';

export default {
entry: 'src/instantsearch.js',
external: ['algoliasearch', 'algoliasearch-helper', 'escape-html'],
external: ['algoliasearch/lite', 'algoliasearch-helper', 'escape-html'],
plugins: [
vue({ compileTemplate: true, css: false }),
json(),
Expand Down
2 changes: 1 addition & 1 deletion src/helper-serializer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import algoliaClient from 'algoliasearch';
import algoliaClient from 'algoliasearch/lite';
import algoliaHelper from 'algoliasearch-helper';

export const serialize = function(helper) {
Expand Down
2 changes: 1 addition & 1 deletion src/store.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import algolia from 'algoliasearch';
import algolia from 'algoliasearch/lite';
import algoliaHelper from 'algoliasearch-helper';
import { version } from '../package.json';
import {
Expand Down

0 comments on commit 4a58b57

Please sign in to comment.