Financial-Times / ftdomdelegate

Create and manage a DOM event delegator
MIT License
320 stars 36 forks source link

add extension to relative imports to make the code work directly in a browser #126

Closed JakeChampion closed 4 years ago

JakeChampion commented 4 years ago

relative imports require the full path including the extension because browsers use the import name to make a network request and they do not implicitly add a .js file extension if one is missing

origamiserviceuser commented 4 years ago

ftdomdelegate bundle size difference from 4.0.5 to 20c0f30712a4e4e5f57dea68e907a1d0b38a7e82 No significant bundle size differences found.

origamiserviceuser commented 4 years ago

:tada: This PR is included in version v4.0.6 :tada: