Skip to content

Commit 5745e6b

Browse files
authored
Merge pull request #1606 from algolia/feature/MAGE-1020-unpack-legacy-libs
Feature/mage 1020 unpack legacy libs
2 parents 160359a + 255e6d4 commit 5745e6b

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

view/frontend/requirejs-config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ const config = {
2626
paths: {
2727
// Core Search UI libs
2828
'algoliaSearchLib' : 'Algolia_AlgoliaSearch/js/lib/algolia-search.min',
29+
'algoliaSearchHelperLib' : 'Algolia_AlgoliaSearch/js/lib/algolia-search-helper.min',
2930
'algoliaInstantSearchLib': 'Algolia_AlgoliaSearch/js/lib/algolia-instantsearch.min',
3031
'algoliaAutocompleteLib' : 'Algolia_AlgoliaSearch/js/lib/algolia-autocomplete.min',
3132
'algoliaAnalyticsLib' : 'Algolia_AlgoliaSearch/js/lib/search-insights.min',
3233
'algoliaRecommendLib' : 'Algolia_AlgoliaSearch/js/lib/recommend.min',
3334
'algoliaRecommendJsLib' : 'Algolia_AlgoliaSearch/js/lib/recommend-js.min',
3435

3536
// Autocomplete plugins
36-
'algoliaQuerySuggestionsPluginLib': 'Algolia_AlgoliaSearch/js/lib/query-suggestions-plugin.min',
37+
'algoliaQuerySuggestionsPluginLib' : 'Algolia_AlgoliaSearch/js/lib/query-suggestions-plugin.min',
38+
'algoliaInsightsPluginLib' : 'Algolia_AlgoliaSearch/js/lib/insights-plugin.min',
39+
'algoliaRecentSearchesPluginLib' : 'Algolia_AlgoliaSearch/js/lib/recent-searches-plugin.min',
3740

3841
// Autocomplete templates
3942
'algoliaAutocompleteProductsHtml' : 'Algolia_AlgoliaSearch/js/template/autocomplete/products',
@@ -55,7 +58,7 @@ const config = {
5558

5659
},
5760
deps : [
58-
'algoliaInstantSearch',
61+
'algoliaInstantSearch',
5962
'algoliaInsights'
6063
],
6164
config: {

view/frontend/web/js/lib/algolia-search-helper.min.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

view/frontend/web/js/lib/insights-plugin.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

view/frontend/web/js/lib/recent-searches-plugin.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)