Pomax / lib-font

This library adds a new Font() object to the JavaScript toolbox, similar to new Image() for images
MIT License
728 stars 72 forks source link

Fix src/opentype/index.js be removed by NPM #107

Closed pascalw closed 3 years ago

pascalw commented 3 years ago

Hi @Pomax we ran into this issue where our build process could not find src/opentype/index.js in Font.js. Turns out it got removed due to the .npmignore file that was recently added.

index.js in .npmignore applies to all files matching this pattern, while (I assume) it was meant to only ignore the index.js file in the root of the project.

Pomax commented 3 years ago

Oh good catch, thanks!