Financial-Times / o-typography

Typography and vertical rhythm styles for FT branding
http://registry.origami.ft.com/components/o-typography
10 stars 2 forks source link

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

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

o-typography bundle size difference from 6.4.4 to 64de95ed623d7ec3f95b07678a5eda9463d7cf8e No significant bundle size differences found.

origamiserviceuser commented 4 years ago

:tada: This PR is included in version v6.4.5 :tada: