Skip to content

Commit

Permalink
chore: fix css declaration to allow importing .css file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziping Liu committed May 12, 2024
1 parent d9adc04 commit e2da905
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-linkedinbadge",
"version": "5.12.2026",
"version": "5.12.2027",
"description": "The LinkedIn Badge Rendering React Component is a powerful tool for displaying LinkedIn badges on websites. With customizable options and support for both profile and entity badges, this component offers improved features over LinkedIn's basic implementation. It enhances code organization by separating badge container rendering from dynamic content rendering and efficiently handles asynchronous loading of content from LinkedIn servers. This component also allows for easy management of multiple badges on a page and provides a callback function for tracking badge rendering completion. Make sure to review the licensing information for proper usage.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -149,6 +149,14 @@
"default": "./lib/linkedinbadge.esm.js",
"umd": "./lib/linkedinbadge.bundle.js",
"css": "./src/LinkedInBadge.css"
},
"./src/LinkedInBadge.css": {
"import": "./src/LinkedInBadge.css",
"require": "./src/LinkedInBadge.css",
"node": "./src/LinkedInBadge.css",
"default": "./src/LinkedInBadge.css",
"umd": "./src/LinkedInBadge.css",
"css": "./src/LinkedInBadge.css"
}
},
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit e2da905

Please sign in to comment.