monsieurbiz / SyliusSearchPlugin

A search plugin using Elasticsearch for Sylius
MIT License
45 stars 38 forks source link

Correctly uses manifest.json to include JS with hash #158

Closed delyriand closed 1 year ago

delyriand commented 1 year ago

Failed tests are fixed in PR #159

Description

Following PR #132, if you generate the plugin's JS (automatically done during a make install or from a yarn encore prod), you get a 404 and the autocomplete form no longer works.

With the fix, we generate the manifest.json correctly, then we use asset with a package to include the JS with the hash in URL:

image