jstejada / react-typist

Typing animations with React
https://jstejada.github.io/react-typist/
Other
1.4k stars 124 forks source link

Add style attribute to package.json #69

Closed Jarred-Sumner closed 5 years ago

Jarred-Sumner commented 5 years ago

This change enables postcss-import and other tools to infer which CSS file is the correct one to import when referencing the module name. This means users can do @import 'react-typist; and it will import the correct stylesheet. This change should make it a little bit easier for people to get started using react-typist.

More on the style attribute: https://jaketrent.com/post/package-json-style-attribute/