service worker symfony webpack encore code example
Example: service worker symfony webpack encore
<script>
var swPath = "{{ encore_entry_js_files('sw') | first }}";
</script>
<script>
var swPath = "{{ encore_entry_js_files('sw') | first }}";
</script>