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.
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 usingreact-typist
.More on the
style
attribute: https://jaketrent.com/post/package-json-style-attribute/