CINXE.COM
Git
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="https://static-production.npmjs.com/styles.f4ecd66d6d33560536a6.css" /> <title data-react-helmet="true">vite-plugin-lib-inject-css - npm</title> <meta data-react-helmet="true" http-equiv="cleartype" content="on"/><meta data-react-helmet="true" name="apple-mobile-web-app-capable" content="yes"/><meta data-react-helmet="true" name="mobile-web-app-capable" content="yes"/><meta data-react-helmet="true" name="viewport" content="width=device-width,minimum-scale=1.0,initial-scale=1,user-scalable=yes"/><meta data-react-helmet="true" property="og:image" content="https://static-production.npmjs.com/338e4905a2684ca96e08c7780fc68412.png"/><meta data-react-helmet="true" name="msapplication-TileColor" content="#cb3837"/><meta data-react-helmet="true" name="msapplication-TileImage" content="https://static-production.npmjs.com/7a7ffabbd910fc60161bc04f2cee4160.png"/><meta data-react-helmet="true" name="msapplication-config" content="https://static-production.npmjs.com/668aac888e52ae13cac9cfd71fabd31f.xml"/><meta data-react-helmet="true" name="theme-color" content="#cb3837"/><meta data-react-helmet="true" name="description" content="Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.. Latest version: 2.1.1, last published: 6 months ago. Start using vite-plugin-lib-inject-css in your project by running `npm i vite-plugin-lib-inject-css`. There are 84 other projects in the npm registry using vite-plugin-lib-inject-css."/><meta data-react-helmet="true" property="og:description" content="Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.. Latest version: 2.1.1, last published: 6 months ago. Start using vite-plugin-lib-inject-css in your project by running `npm i vite-plugin-lib-inject-css`. There are 84 other projects in the npm registry using vite-plugin-lib-inject-css."/><meta data-react-helmet="true" property="og:title" content="vite-plugin-lib-inject-css"/><meta data-react-helmet="true" property="og:url" content="https://www.npmjs.com/package/vite-plugin-lib-inject-css"/><meta data-react-helmet="true" property="og:site_name" content="npm"/><meta data-react-helmet="true" name="keywords" content="vite,plugin,lib,build,vite-lib,vite-plugin,vite-build,css,style,styles,inject,inline"/><meta data-react-helmet="true" name="twitter:card" content="summary"/><meta data-react-helmet="true" name="twitter:url" content="https://www.npmjs.com/package/vite-plugin-lib-inject-css"/><meta data-react-helmet="true" name="twitter:title" content="npm: vite-plugin-lib-inject-css"/><meta data-react-helmet="true" name="twitter:description" content="Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.. Latest version: 2.1.1, last published: 6 months ago. Start using vite-plugin-lib-inject-css in your project by running `npm i vite-plugin-lib-inject-css`. There are 84 other projects in the npm registry using vite-plugin-lib-inject-css."/> <link data-react-helmet="true" href="https://static-production.npmjs.com/osd.xml" rel="search" title="npm package search" type="application/opensearchdescription+xml"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="120x120" href="https://static-production.npmjs.com/58a19602036db1daee0d7863c94673a4.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="144x144" href="https://static-production.npmjs.com/7a7ffabbd910fc60161bc04f2cee4160.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="152x152" href="https://static-production.npmjs.com/34110fd7686e2c90a487ca98e7336e99.png"/><link data-react-helmet="true" rel="apple-touch-icon" sizes="180x180" href="https://static-production.npmjs.com/3dc95981de4241b35cd55fe126ab6b2c.png"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/b0f1a8318363185cc2ea6a40ac23eeb2.png" sizes="32x32"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/1996fcfdf7ca81ea795f67f093d7f449.png" sizes="230x230"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/f1786e9b7cba9753ca7b9c40e8b98f67.png" sizes="96x96"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/5f6e93af5bf0f5dcdd1eecdac99f51ee.png" sizes="192x192"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/c426a1116301d1fd178c51522484127a.png" sizes="228x228"/><link data-react-helmet="true" rel="icon" type="image/png" href="https://static-production.npmjs.com/da3ab40fb0861d15c83854c29f5f2962.png" sizes="16x16"/> </head> <body> <div id="app"><div class="_452c3ec4 d68c66a8"><div class="cf325dbd list ma0 pa0 tr z-999"><div class="c746cc21 list ma0 pa0 tr z-999"></div></div><div class="flex flex-column vh-100"><header class="_755f5b0f bg-white z-2 bb b--black-20"><div></div><div class="e7070742 pv3-ns ph1-ns bg-white"><div id="header" class="bbefbfcc">skip to:<a aria-label="skip to content" class="d6d0dbcf" href="#main">content</a><a aria-label="skip to package search" class="d6d0dbcf" href="#search">package search</a><a aria-label="skip to sign in" class="d6d0dbcf" href="#signin">sign in</a></div><div class="ef7c6e62 center mw9 border-box ph4-ns ph3 flex items-center"><span class="_0edb515f pr3 dn dib-ns link lh-title dim b--white-30">❤</span><nav class="_4a5f2a79 db w-100 w-auto-ns truncate" aria-label="Product Navigation"><ul id="main-menu" class="list pl0" role="menu" aria-label="Nav Menu"><li role="none" class="dib"><a href="/products/pro" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-pro-link">Pro</a></li><li role="none"><a href="/products/teams" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-teams-link">Teams</a></li><li role="none" class="dib"><a href="/products" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-pricing-link">Pricing</a></li><li role="none" class="dib"><a href="https://docs.npmjs.com" role="menuitem" class="c6c55db4 no-underline f6-ns f7 fw5 dim pr2 pl2" id="nav-docs-link">Documentation</a></li></ul></nav></div></div><div class="_4ea0e50d bt b--black-10"><div class="c5b9953b center mw9 flex flex-wrap ph4-ns border-box"><span class="_657f443d">npm</span><div class="af43375d mt3 db mr4-ns pb3 pb0-ns flex-auto 2-ns ph3 ph0-ns"><a href="/" aria-label="Npm"><svg viewBox="0 0 780 250" aria-hidden="true"><path fill="#231F20" d="M240,250h100v-50h100V0H240V250z M340,50h50v100h-50V50z M480,0v200h100V50h50v150h50V50h50v150h50V0H480z M0,200h100V50h50v150h50V0H0V200z" stroke-width="5" stroke="#f7f7f7"></path></svg></a></div><div id="search" class="_581ebd89 relative flex-auto w-100 w-50-ns pv2-ns order-1-ns order-2"><form id="search" method="GET" action="/search" class="_13c93d41 relative flex bg-transparent ph3 ph2 pv2 ph0-ns pv0-ns bt b--black-10 bn-ns"><div class="e82b10fd relative dde91b96"><div class="_2f299eeb nowrap flex"><span class="_705cdf4f db fl pl3 pr1"><svg width="15px" height="15px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" aria-hidden="true"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g stroke="#777777" stroke-width="1.3"><g><path d="M13.4044,7.0274 C13.4044,10.5494 10.5494,13.4044 7.0274,13.4044 C3.5054,13.4044 0.6504,10.5494 0.6504,7.0274 C0.6504,3.5054 3.5054,0.6504 7.0274,0.6504 C10.5494,0.6504 13.4044,3.5054 13.4044,7.0274 Z"></path><path d="M11.4913,11.4913 L17.8683,17.8683"></path></g></g></g></svg></span><input type="search" role="combobox" name="q" hotkeys="[object Object]" placeholder="Search packages" aria-label="Search packages" aria-controls="typeahead-list-35196" aria-expanded="false" aria-activedescendant="" inputref="[object Object]" autoComplete="off" class="_390acbc5 f5 fw3 black relative" value="" element="input"/></div><div aria-live="polite" aria-atomic="true" class="_6f20b8d1"></div></div><button type="submit" class="_0da775bb bn pv2 ph4 f6 white pointer bn pv2 ph4 f6 white pointer" aria-label="Search">Search</button><input type="hidden" name="csrftoken" value="4wJVz3Zb8MowNlQgRgcTuPbfTYY4MWydoUUj2I6ONtA"/></form></div><div class="_6f31c82b ml3 mt2 mt0-ns pv2-ns flex-auto tr nowrap relative pointer fw6 order-1 order-2-ns"><div class="_1066d9e7 flex items-center self-center pl3"><a href="/signup" id="signup" class="_9752c8b3 pa2 lh-copy br2 f6 no-underline fw5 black dim ph3 mr3">Sign Up</a><a href="/login" id="signin" class="_352269a0 pa1 lh-copy br2 f6 no-underline fw5 black dim">Sign In</a></div></div></div></div></header><main id="main"> <div class="_36ae70e9 flex flex-row flex-wrap pb5 ph3-l mw-100 mt4-ns mt1 center-ns mh1" id="top"><div class="w-100 ph0-l ph3 ph4-m"><h2 class="cd6ce1fd flex flex-row justify-start items-center w-100 fw6 mt3 black dib ma0 tracked-tight no-underline hover-black f3-ns"><span class="_50685029 truncate">vite-plugin-lib-inject-css</span><div data-nosnippet="true"><img src="https://static-production.npmjs.com/255a118f56f5346b97e56325a1217a16.svg" height="20px" title="This package contains built-in TypeScript declarations" alt="TypeScript icon, indicating that this package has built-in type declarations" class="aa30d277 pl3" data-nosnippet="true"/></div></h2><span class="_76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy">2.1.1<!-- --> • </span><span class="_813b53b2 _76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy">Public</span><span class="_76473bea f6 dib ph0 pv2 mb2-ns black-80 nowrap f5 fw4 lh-copy"> • Published <time dateTime="2024-05-13T07:39:48.002Z" title="5/13/2024, 7:39:48 AM">6 months ago</time></span></div><ul class="cfb2a888 flex flex-column flex-row-l w-100 ma0 pa0 mr2 mr0-l list" role="tablist" aria-owns="package-tab-readme package-tab-code package-tab-dependencies package-tab-dependents package-tab-versions"><li class="_8055e658 f5 fw5 tc pointer d9f99065 ac5f7ef8 f4 fw6 black-50" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=readme" aria-selected="true" role="tab" aria-controls="tabpanel-readme" id="package-tab-readme" tabindex="0"><span><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="file-alt" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"></path></svg> Readme</span></a></li><li class="_8055e658 f5 fw5 tc pointer _7aa1ee94" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=code" aria-selected="false" role="tab" aria-controls="tabpanel-explore" id="package-tab-code" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="file-archive" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z"></path></svg>Code <span class="a17280e0"><span class="Label-sc-1t3ykp0-0 hopnJv _22665c13">Beta</span></span></span></a></li><li class="_8055e658 f5 fw5 tc pointer c1f85151" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=dependencies" aria-selected="false" role="tab" aria-controls="tabpanel-dependencies" id="package-tab-dependencies" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cube" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"></path></svg>3 Dependencies</span></a></li><li class="_8055e658 f5 fw5 tc pointer _7cec0316" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=dependents" aria-selected="false" role="tab" aria-controls="tabpanel-dependents" id="package-tab-dependents" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cubes" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"></path></svg>84 Dependents</span></a></li><li class="_8055e658 f5 fw5 tc pointer b4fcfd19" role="presentation"><a class="_38ce9a85 link db ph4 fw6" href="?activeTab=versions" aria-selected="false" role="tab" aria-controls="tabpanel-versions" id="package-tab-versions" tabindex="-1"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="tags" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"></path></svg>12 Versions</span></a></li></ul><div class="_6620a4fd mw8-l mw-100 w-100 w-two-thirds-l ph3-m pt2 pl0-ns pl2"><span><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-readme" aria-labelledby="package-tab-readme" role="tabpanel" data-attribute=""><div class=""><article><div id="readme" class="_704c034e _6d9832ac pr4-ns pl0-ns ph1-m pr3-m pr2"><div class="markdown-heading"><h1 class="heading-element">vite-plugin-lib-inject-css</h1><a id="user-content-vite-plugin-lib-inject-css" class="anchor" aria-label="Permalink: vite-plugin-lib-inject-css" href="#vite-plugin-lib-inject-css"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://npmjs.com/package/vite-plugin-lib-inject-css" rel="nofollow"><img src="https://camo.githubusercontent.com/610199c4299ec9348411b1b56002817379a2aa0021b7c98385d3bddc8086a8d1/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f766974652d706c7567696e2d6c69622d696e6a6563742d637373" alt="npm version" data-canonical-src="https://img.shields.io/npm/v/vite-plugin-lib-inject-css" style="max-width: 100%;"></a> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/c38f718880b4e6be08b33a7d3a34e64c476a9df6d2e789d0e8b11a74b0760298/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64772f766974652d706c7567696e2d6c69622d696e6a6563742d637373"><img src="https://camo.githubusercontent.com/c38f718880b4e6be08b33a7d3a34e64c476a9df6d2e789d0e8b11a74b0760298/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64772f766974652d706c7567696e2d6c69622d696e6a6563742d637373" alt="weekly downloads" data-canonical-src="https://img.shields.io/npm/dw/vite-plugin-lib-inject-css" style="max-width: 100%;"></a> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/26dbbb2866ca4f22d630ede731ad680b53e129889caca394308a2c11ab842726/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f766974652d706c7567696e2d6c69622d696e6a6563742d637373"><img src="https://camo.githubusercontent.com/26dbbb2866ca4f22d630ede731ad680b53e129889caca394308a2c11ab842726/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f766974652d706c7567696e2d6c69622d696e6a6563742d637373" alt="license" data-canonical-src="https://img.shields.io/npm/l/vite-plugin-lib-inject-css" style="max-width: 100%;"></a> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ccad52b1e6d8488b6029337ceb388d2ffba23c2eb4aca4a6649bfefd577616eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f656d6f7368656565702f766974652d706c7567696e2d6c69622d696e6a6563742d637373"><img src="https://camo.githubusercontent.com/ccad52b1e6d8488b6029337ceb388d2ffba23c2eb4aca4a6649bfefd577616eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f656d6f7368656565702f766974652d706c7567696e2d6c69622d696e6a6563742d637373" alt="stars" data-canonical-src="https://img.shields.io/github/stars/emosheeep/vite-plugin-lib-inject-css" style="max-width: 100%;"></a></p> <p>English | <a href="https://juejin.cn/post/7214374960192782373" rel="nofollow">简体中文</a></p> <p>Inject css at the top of each chunk file in library mode using <code>import</code> statement, support multi-entries build, especially to help building component libraries.</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">// bundled js file, with import css at top (if any)</span> <span class="pl-k">import</span> <span class="pl-s">'./style.css'</span><span class="pl-kos">;</span> <span class="pl-c">// rest of the file</span> <span class="pl-c">// ...</span></pre></div> <blockquote> <p><strong>Can css be styleInjected in library mode</strong>? <a href="https://github.com/vitejs/vite/issues/1579">vite#1579</a>.</p> </blockquote> <div class="markdown-heading"><h1 class="heading-element">Features</h1><a id="user-content-features" class="anchor" aria-label="Permalink: Features" href="#features"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Note that this plugin only works with <a href="https://vitejs.dev/guide/build.html#library-mode" rel="nofollow">library-mode</a>.</p> <ul> <li>💡 Multiple entires support.</li> <li>⚡️ Sourcemap support.</li> <li>💻 SSR build support.</li> <li>🛠 Out-of-box, tiny and pretty.</li> </ul> <div class="markdown-heading"><h1 class="heading-element">Quick Experience</h1><a id="user-content-quick-experience" class="anchor" aria-label="Permalink: Quick Experience" href="#quick-experience"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>View the <a href="https://stackblitz.com/~/github.com/emosheeep/vite-plugin-lib-inject-css" rel="nofollow">cloud ide</a> on stackblitz.com, and setup with the following scripts:</p> <div class="highlight highlight-source-shell"><pre>pnpm install <span class="pl-c1">cd</span> example pnpm build</pre></div> <div class="markdown-heading"><h1 class="heading-element">Usage</h1><a id="user-content-usage" class="anchor" aria-label="Permalink: Usage" href="#usage"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="highlight highlight-source-shell"><pre>pnpm i vite-plugin-lib-inject-css -D <span class="pl-c"><span class="pl-c">#</span> npm/yarn</span></pre></div> <div class="highlight highlight-source-js"><pre><span class="pl-c">// vite.config.ts</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">libInjectCss</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'vite-plugin-lib-inject-css'</span><span class="pl-kos">;</span> <span class="pl-c">// https://vitejs.dev/config/</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">plugins</span>: <span class="pl-kos">[</span> <span class="pl-en">libInjectCss</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">build</span>: <span class="pl-kos">{</span> <span class="pl-c1">lib</span>: <span class="pl-kos">{</span> <span class="pl-c1">format</span>: <span class="pl-kos">[</span><span class="pl-s">'es'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">entry</span>: <span class="pl-kos">{</span> <span class="pl-c1">index</span>: <span class="pl-s">'src/index.ts'</span><span class="pl-kos">,</span> <span class="pl-c1">button</span>: <span class="pl-s">'src/components/button/index.ts'</span><span class="pl-kos">,</span> <span class="pl-c1">select</span>: <span class="pl-s">'src/components/select/index.ts'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-s1">rollupOptions</span>: <span class="pl-kos">{</span> <span class="pl-s1">output</span>: <span class="pl-kos">{</span> <span class="pl-c">// Put chunk files at <output>/chunks</span> <span class="pl-s1">chunkFileNames</span>: <span class="pl-s">'chunks/[name].[hash].js'</span><span class="pl-kos">,</span> <span class="pl-c">// Put chunk styles at <output>/assets</span> <span class="pl-c1">assetFileNames</span>: <span class="pl-s">'assets/[name][extname]'</span><span class="pl-kos">,</span> <span class="pl-c1">entryFileNames</span>: <span class="pl-s">'[name].js'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> <div class="markdown-heading"><h1 class="heading-element">Motivation</h1><a id="user-content-motivation" class="anchor" aria-label="Permalink: Motivation" href="#motivation"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Vite shines in Web project development, but it can also be used for library projects.</p> <p>But when it comes to component library development, multiple entries are often involved. Although <code>Vite 3.2+</code> later supports multiple entry points, it doesn't provide relevant options for us to associate css with component, which leads to the problem that we can't distinguish between the entry point and css files even though the bundle is successful.</p> <p>Based on this, we need to write a plugin to try to find the relationship between the two, and inject styles correctly.</p> <div class="markdown-heading"><h1 class="heading-element">How does it work</h1><a id="user-content-how-does-it-work" class="anchor" aria-label="Permalink: How does it work" href="#how-does-it-work"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>As a library(mostly component library), we want to import styles automatically when referencing the component.</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">/** component-lib/dist/button.js */</span> <span class="pl-k">import</span> <span class="pl-s">'./assets/button.css'</span><span class="pl-kos">;</span> <span class="pl-c">// This is what this plugin do;</span> ... <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-v">Button</span><span class="pl-kos">;</span> <span class="pl-c">/** component-lib/dist/index.js */</span> <span class="pl-k">import</span> <span class="pl-v">Button</span> <span class="pl-k">from</span> <span class="pl-s">'./button.js'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s1">xxx</span> <span class="pl-k">from</span> <span class="pl-s">'./xxx.js'</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-v">Button</span><span class="pl-kos">,</span> <span class="pl-s1">xxx</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> ... <span class="pl-c">/** In our project's main file */</span> <span class="pl-c">// Once we import Button, styles'll be imported together.</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">Button</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'component-lib'</span><span class="pl-kos">;</span></pre></div> <p>The simplest way is to add a line <code>import './style.css';</code> to the top of the generated file, multiple lines are multiple lines. As a library provider, we should <strong>provide flexibility as much as possible</strong>, and <strong>delegate the task of how to handle these css files to the user's build tool</strong>.</p> <p>But most of the Vite plugins on the market that claim to automatically inject CSS are designed in a way use <code>document.createElement ('style')</code>, which is not graceful, and <strong>it assumes that the current is in the Browser's DOM environment, which makes the library SSR-incompatible</strong>.</p> <p>Here's the reply(<a href="https://github.com/vitejs/vite/issues/1579#issuecomment-763295757">vite#issuecomment</a>) of the author of Vite, Evan You.</p> <p>So the main problem becomes to <strong>how do we know which style files are involved in one chunk file</strong>?</p> <p>In fact, vite adds a property named <code>viteMetadata</code> on each chunk file in plugin lifecycle, you can check <a href="https://github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/css.ts">css.ts</a> for further information.</p> <p>We can get which resources(include CSS files) are associated with current chunk file by using this property. Based on this, the plugin injects styles by using <a href="https://rollupjs.org/plugin-development/#renderchunk" rel="nofollow">renderChunk</a> hook, which is the simplest and most effective way.</p> <p><em>Prefer to check plugin source code to get more information and welcome to make contribution</em>, which is simple enough(100+ lines).</p> <div class="markdown-heading"><h1 class="heading-element">Recipes of creating component library</h1><a id="user-content-recipes-of-creating-component-library" class="anchor" aria-label="Permalink: Recipes of creating component library" href="#recipes-of-creating-component-library"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>How do we create a component library with vite, which can auto import styles and has out-of-box tree-shaking functionality?</p> <div class="markdown-heading"><h2 class="heading-element">Current Status</h2><a id="user-content-current-status" class="anchor" aria-label="Permalink: Current Status" href="#current-status"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Most of component libraries provide two ways. One is totally import:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-v">Vue</span> <span class="pl-k">from</span> <span class="pl-s">'vue'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-v">XxxUI</span> <span class="pl-k">from</span> <span class="pl-s">'component-lib'</span><span class="pl-kos">;</span> <span class="pl-v">Vue</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-v">XxxUI</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p>The other is import on demand, in common uses with a third-part plugin like <code>babel-plugin-import</code>:</p> <div class="highlight highlight-source-js"><pre><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">Button</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'component-lib'</span><span class="pl-kos">;</span> <span class="pl-c">// ↓ ↓ ↓ transformed ↓ ↓ ↓</span> <span class="pl-k">import</span> <span class="pl-v">Button</span> <span class="pl-k">from</span> <span class="pl-s">'component-lib/dist/button/index.js'</span> <span class="pl-k">import</span> <span class="pl-s">'component-lib/dist/button/style.css'</span></pre></div> <p><strong>But the best way is that when we use named imports, the style imports and tree-shaking can be applied automatically</strong>.</p> <div class="markdown-heading"><h2 class="heading-element">How should we do</h2><a id="user-content-how-should-we-do" class="anchor" aria-label="Permalink: How should we do" href="#how-should-we-do"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Fortunately, ES Module naturally has static analysis capabilities, and mainstream tools basically implement ESM-based Tree-shaking functions, such as <code>webpack/rollup/vite</code>.</p> <p>Then we only need the following three steps:</p> <ol> <li>Adjust the output format to ES Module → Out-of-the-box Tree-shaking functionality.</li> <li>Use this plugin for style injection → auto import styles</li> <li>The last and most important, <strong>add all of the entry files you’ve exported in main.js to your <code>rollup.input</code> configurations</strong>.</li> </ol> <p>It should be noted that the import of CSS files has side effects, and we also need to <strong>declare the <a href="https://webpack.js.org/guides/tree-shaking" rel="nofollow">sideEffects</a> field in the library's package.json file</strong> to prevent the CSS file from being accidentally removed by the user side builds.</p> <p>Here's an example:</p> <div class="highlight highlight-source-json"><pre>{ <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>component-lib<span class="pl-pds">"</span></span>, <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.0.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>dist/index.mjs<span class="pl-pds">"</span></span>, <span class="pl-ent">"sideEffects"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>**/*.css<span class="pl-pds">"</span></span> ] }</pre></div> <div class="markdown-heading"><h1 class="heading-element">Questions</h1><a id="user-content-questions" class="anchor" aria-label="Permalink: Questions" href="#questions"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <div class="markdown-heading"><h2 class="heading-element">Why does style code injection fail?</h2><a id="user-content-why-does-style-code-injection-fail" class="anchor" aria-label="Permalink: Why does style code injection fail?" href="#why-does-style-code-injection-fail"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Here're some possible reasons:</p> <ul> <li> <p>When <code>build.cssCodeSplit</code> is <code>false</code>, all of css code will be collected into a standalone css file named <code>style.css</code>, <strong>style injection will be skipped</strong>.</p> </li> <li> <p>When <code>rollupOptions.output.preserveModules</code> is <code>true</code>, the association between a chunk and the css it referenced will lose for some reason, in which case <strong>style injection will be skipped</strong>.</p> </li> </ul> <p>Due to the <strong>internal implementation</strong>, we have to make some trade-offs:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">{</span> <span class="pl-c1">build</span>: <span class="pl-kos">{</span> <span class="pl-c1">cssCodeSplit</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c">// Required. This is set internally by default.</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">rollupOptions</span>: <span class="pl-kos">{</span> <span class="pl-c1">output</span>: <span class="pl-kos">{</span> <span class="pl-c1">preserveModules</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c">// Required. This is rollup's default behavior, you'll get a warn message if you set `true`.</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <div class="markdown-heading"><h2 class="heading-element">About <code>preserveModules</code> </h2><a id="user-content-about-preservemodules" class="anchor" aria-label="Permalink: About preserveModules" href="#about-preservemodules"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Anytime when you attempt using this option, there in common may has more efficient ways to meet you. For example, <strong>you can turn every file into an entry point, like suggested in the Rollup <a href="https://rollupjs.org/configuration-options/#input" rel="nofollow">docs</a></strong>:</p> <blockquote> <p>If you want to convert a set of files to another format while maintaining the file structure and export signatures, the recommended way—instead of using <code>output.preserveModules</code> that may tree-shake exports as well as emit virtual files created by plugins—is to turn every file into an entry point. You can do so dynamically e.g. via the <code>glob</code> package:</p> </blockquote> <div class="markdown-heading"><h2 class="heading-element">Why do additional empty imports turn up in entry chunks?</h2><a id="user-content-why-do-additional-empty-imports-turn-up-in-entry-chunks" class="anchor" aria-label="Permalink: Why do additional empty imports turn up in entry chunks?" href="#why-do-additional-empty-imports-turn-up-in-entry-chunks"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>When using <strong>multiple</strong> chunks, imports of dependencies of entry chunks will be added as empty imports to the entry chunks themselves. This is rollup's default behavior <strong>in order for javascript engine performance optimizations</strong>, you can turn it off via <code>output.hoistTransitiveImports: false</code>.</p> <p>Here's an example:</p> <div class="highlight highlight-source-js"><pre><span class="pl-c">// dist/demo.js</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">_</span> <span class="pl-k">as</span> <span class="pl-s1">p</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"../chunks/demo.js"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"vue"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"axios"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"lodash-es"</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-s">"xxx"</span><span class="pl-kos">;</span> <span class="pl-c">// ... and so on.</span> <span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">p</span> <span class="pl-k">as</span> <span class="pl-v">Demo</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p>Further, see <a href="https://rollupjs.org/faqs/#why-do-additional-imports-turn-up-in-my-entry-chunks-when-code-splitting" rel="nofollow">why-do-additional-imports-turn-up-in-my-entry-chunks-when-code-splitting</a>.</p> <p>As a third-part library, this behavior may cause sideEffects and make tree-shaking fail, so we set <code>hoistTransitiveImports: false</code> internally by default, you can still manually overwrite it.</p> <div class="markdown-heading"><h2 class="heading-element">Output directory structure is ugly when building with multi-entries.</h2><a id="user-content-output-directory-structure-is-ugly-when-building-with-multi-entries" class="anchor" aria-label="Permalink: Output directory structure is ugly when building with multi-entries." href="#output-directory-structure-is-ugly-when-building-with-multi-entries"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>When we build our library with multi-entries, the output looks as follows in common:</p> <pre><code>dist/demo.css 0.05 kB │ gzip: 0.07 kB dist/demo-451ab1e5.mjs 0.36 kB │ gzip: 0.26 kB dist/demo-component.mjs 0.09 kB │ gzip: 0.10 kB dist/index.mjs 0.16 kB │ gzip: 0.14 kB </code></pre> <p>Generally speaking, <strong>the users who use your library usually don't care about how does your dist directory structure looks like</strong>. Just don’t tangle this, we just need to ensure that the unused files will get tree-shaken when we use named imports from the library.</p> <p>Indeed, you can customize filenames by using <code>output.xxxFileNames</code> options:</p> <div class="highlight highlight-source-js"><pre><span class="pl-kos">{</span> <span class="pl-c1">rollupOptions</span>: <span class="pl-kos">{</span> <span class="pl-c1">output</span>: <span class="pl-kos">{</span> <span class="pl-c">// Put chunk files at <output>/chunks</span> <span class="pl-c1">chunkFileNames</span>: <span class="pl-s">'chunks/[name].[hash].js'</span><span class="pl-kos">,</span> <span class="pl-c">// Put chunk styles at <output>/assets</span> <span class="pl-c1">assetFileNames</span>: <span class="pl-s">'assets/[name][extname]'</span><span class="pl-kos">,</span> <span class="pl-c1">entryFileNames</span>: <span class="pl-s">'[name].js'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span></pre></div> <p>And then you'll get:</p> <pre><code>dist/assets/demo.css 0.05 kB │ gzip: 0.07 kB dist/chunks/demo.a6107609.js 0.37 kB │ gzip: 0.26 kB dist/demo-component.js 0.09 kB │ gzip: 0.10 kB dist/index.js 0.15 kB │ gzip: 0.14 kB </code></pre> <div class="markdown-heading"><h1 class="heading-element">License</h1><a id="user-content-license" class="anchor" aria-label="Permalink: License" href="#license"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p><a href="https://github.com/emosheeep/vite-plugin-lib-inject-css/blob/HEAD/LICENSE">MIT</a> License © 2023 <a href="https://github.com/emosheeep">秦旭洋</a></p> </div></article></div><div class="pv4"><h2 class="c7520c26">Readme</h2><h3 id="user-content-keywords" class="a0dff0b1 mt2 pt2 mb3 pb3 f4 fw6 b--black-10">Keywords</h3><ul class="list pl0"><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vite">vite</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:plugin">plugin</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:lib">lib</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:build">build</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vite-lib">vite-lib</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vite-plugin">vite-plugin</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:vite-build">vite-build</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:css">css</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:style">style</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:styles">styles</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:inject">inject</a></li><li class="dib mr2"><a class="_75a5f581 f4 fw6 fl db pv1 ma1 black-70 link hover-black animate" href="/search?q=keywords:inline">inline</a></li></ul></div></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-explore" aria-labelledby="package-tab-explore" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-admin" aria-labelledby="package-tab-admin" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-dependencies" aria-labelledby="package-tab-dependencies" role="tabpanel" data-attribute="hidden"></section><section class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-dependents" aria-labelledby="package-tab-dependents" role="tabpanel" data-attribute="hidden"></section><div class="e22ba268 ph2 ph0-ns ml0-ns mr3-ns black-80" id="tabpanel-versions" aria-labelledby="package-tab-versions" role="tabpanel" data-attribute="hidden"></div></span><span aria-live="polite"></span></div><div class="fdbf4038 w-third-l mt3 w-100 ph3 ph4-m pv3 pv0-l"><h2 class="c7520c26">Package Sidebar</h2><h3 class="c84e15be f5 mt2 pt2 mb0">Install</h3><div class="d767adf4 lh-copy truncate ph0 mb3 black-80 b5be2af6 f6 flex flex-row"><svg viewBox="0 0 12.32 9.33" aria-hidden="true"><g><line class="st1" x1="7.6" y1="8.9" x2="7.6" y2="6.9"></line><rect width="1.9" height="1.9"></rect><rect x="1.9" y="1.9" width="1.9" height="1.9"></rect><rect x="3.7" y="3.7" width="1.9" height="1.9"></rect><rect x="1.9" y="5.6" width="1.9" height="1.9"></rect><rect y="7.5" width="1.9" height="1.9"></rect></g></svg><p class="flex-auto truncate db ma0"><code>npm i <!-- -->vite-plugin-lib-inject-css</code><button class="fbd04dd1" type="button" aria-label="Copy install command line"><svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="copy" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z" fill="#808080"></path></svg></button></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 id="repository" class="c84e15be f5 mt2 pt2 mb0">Repository</h3><p class="_40aff104 fw6 mb3 mt2 truncate black-80 f5"><a aria-labelledby="repository repository-link" class="b2812e30 f2874b88 fw6 mb3 mt2 truncate black-80 f4 no-underline pr1" href="https://github.com/emosheeep/vite-plugin-lib-inject-css" target="_blank" rel="noopener noreferrer nofollow"><span class="_513426a8 dib v-mid"><svg width="16" height="16" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><title>Git</title><g fill="#0A0B09" fill-rule="nonzero"><path d="M15.6981994,7.28744895 L8.71251571,0.3018063 C8.3102891,-0.1006021 7.65784619,-0.1006021 7.25527133,0.3018063 L5.80464367,1.75263572 L7.64478689,3.59281398 C8.07243561,3.44828825 8.56276901,3.5452772 8.90352982,3.88604451 C9.24638012,4.22907547 9.34249661,4.72359725 9.19431703,5.15282127 L10.9679448,6.92630874 C11.3971607,6.77830046 11.8918472,6.8738964 12.2346975,7.21727561 C12.7135387,7.69595181 12.7135387,8.47203759 12.2346975,8.95106204 C11.755508,9.43026062 10.9796112,9.43026062 10.5002476,8.95106204 C10.140159,8.59061834 10.0510075,8.06127108 10.2336636,7.61759448 L8.57948492,5.9635584 L8.57948492,10.3160467 C8.69614805,10.3738569 8.80636859,10.4509954 8.90352982,10.5479843 C9.38237103,11.0268347 9.38237103,11.8027463 8.90352982,12.2822931 C8.42468862,12.7609693 7.64826937,12.7609693 7.16977641,12.2822931 C6.69093521,11.8027463 6.69093521,11.0268347 7.16977641,10.5479843 C7.28818078,10.4297518 7.42521643,10.3402504 7.57148065,10.2803505 L7.57148065,5.88746473 C7.42521643,5.82773904 7.28852903,5.73893407 7.16977641,5.62000506 C6.80707597,5.25747183 6.71983981,4.72499027 6.90597844,4.27957241 L5.09195384,2.465165 L0.301800552,7.25506126 C-0.100600184,7.65781791 -0.100600184,8.31027324 0.301800552,8.71268164 L7.28783254,15.6983243 C7.69005915,16.1005586 8.34232793,16.1005586 8.74507691,15.6983243 L15.6981994,8.74506934 C16.1006002,8.34266094 16.1006002,7.68968322 15.6981994,7.28744895" id="Path"></path></g></svg></span><span id="repository-link">github.com/emosheeep/vite-plugin-lib-inject-css</span></a></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 id="homePage" class="c84e15be f5 mt2 pt2 mb0">Homepage</h3><p class="_40aff104 fw6 mb3 mt2 truncate black-80 f5"><a aria-labelledby="homePage homePage-link" class="b2812e30 f2874b88 fw6 mb3 mt2 truncate black-80 f4 no-underline pr1" rel="noopener noreferrer nofollow" href="https://github.com/emosheeep/vite-plugin-lib-inject-css#readme"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="link" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"></path></svg><span id="homePage-link">github.com/emosheeep/vite-plugin-lib-inject-css#readme</span></a></p></div><div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100" role="button" tabindex="0" aria-label="Showing weekly downloads"><h3 class="c84e15be f5 mt2 pt2 mb0 _5cfc0900"><svg viewBox="0 0 7.22 11.76" aria-hidden="true"><title>Downloads</title><g><polygon points="4.59 4.94 4.59 0 2.62 0 2.62 4.94 0 4.94 3.28 9.53 7.22 4.94 4.59 4.94" aria-label="Downloads icon"></polygon><rect x="0.11" y="10.76" width="7" height="1"></rect></g></svg>Weekly Downloads</h3><div class="_000ae427 flex flex-row-reverse items-end"><svg class="_418c4939 flex-none" width="200" height="40" stroke-width="3" stroke="#8956FF" fill="rgba(137, 86, 255, .2)" aria-hidden="true"></svg><p class="_9ba9a726 f4 tl flex-auto fw6 black-80 ma0 pr2 pb1">71,041</p></div></div></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Version</h3><div class="abe380b3 flex flex-row items-center"><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">2.1.1</p></div></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">License</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">MIT</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Unpacked Size</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">25.7 kB</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2"><h3 class="c84e15be f5 mt2 pt2 mb0">Total Files</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4">8</p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 w-100"><h3 class="c84e15be f5 mt2 pt2 mb0">Last publish</h3><p class="f2874b88 fw6 mb3 mt2 truncate black-80 f4"><time dateTime="2024-05-13T07:39:48.002Z" title="5/13/2024, 7:39:48 AM">6 months ago</time></p></div><div class="_702d723c dib w-50 fl bb b--black-10 pr2 bb-0 w-100"><h3 id="collaborators" class="c84e15be f5 mt2 pt2 mb0">Collaborators</h3><ul aria-labelledby="collaborators" class="list pl0 cf"><li class="_426b8533 fl dib mr2 mb2"><div><a href="/~qxy6675"><img src="/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.j5tLwSyQ2aFcINrITp8lLb0NQvsWAwF98r_ZKKvAqLA" style="width:42px;height:42px;min-width:42px;border-radius:4%" alt="qxy6675" title="qxy6675"/></a></div></li></ul></div><div class="w-100"><a class="c37751f6 _24a1e9c7 dab9924c br2 pv2 ph3 fw5 f5 tc button button-reset pointer ma2 truncate ml0 no-underline mt2 dib w-100" rel="noopener noreferrer nofollow" href="https://runkit.com/npm/vite-plugin-lib-inject-css"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="terminal" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M257.981 272.971L63.638 467.314c-9.373 9.373-24.569 9.373-33.941 0L7.029 444.647c-9.357-9.357-9.375-24.522-.04-33.901L161.011 256 6.99 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L257.981 239.03c9.373 9.372 9.373 24.568 0 33.941zM640 456v-32c0-13.255-10.745-24-24-24H312c-13.255 0-24 10.745-24 24v32c0 13.255 10.745 24 24 24h304c13.255 0 24-10.745 24-24z"></path></svg><strong>Try</strong> on RunKit</a></div><div class="_33c89934 w-100"><a class="_4a3f8f21 _24a1e9c7 dab9924c br2 pv2 ph3 fw5 f5 tc button button-reset pointer ma2 truncate ml0 no-underline mt2 dib w-100" href="/support?inquire=security&security-inquire=malware&package=vite-plugin-lib-inject-css&version=2.1.1"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="flag" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"></path></svg><strong>Report</strong> malware</a></div></div></div> </main><footer class="cd2827bb bt b--black-10 mt4"><h2 class="e13b5dae">Footer</h2><div id="footer" class="center mw9 pa3 flex flex-column flex-wrap-m flex-row-ns"><div class="flex-auto pa4-ns pa3 w-100 w-10-l"><div class="_802b5507 pt3"><a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/npm" aria-label="Visit npm GitHub page"><svg viewBox="0 0 27.23 27.23" aria-hidden="true"><rect fill="#333333" width="27.23" height="27.23" rx="2"></rect><polygon fill="#fff" points="5.8 21.75 13.66 21.75 13.67 9.98 17.59 9.98 17.58 21.76 21.51 21.76 21.52 6.06 5.82 6.04 5.8 21.75"></polygon></svg></a></div><div class="_802b5507 pt3"><a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com" aria-label="GitHub"><svg aria-hidden="true" focusable="false" class="" viewBox="0 0 24 24" width="50" height="50" fill="black" style="display:inline-block;user-select:none;vertical-align:top;overflow:visible"><path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path></svg></a></div></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="support" class="_1b8c0a9f">Support</h3><ul class="list pl0" aria-labelledby="support"><li class="pv1"><a class="df995acb no-underline pr1" href="https://docs.npmjs.com">Help</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="https://github.com/advisories">Advisories</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="http://status.npmjs.org/">Status</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/support">Contact npm</a></li></ul></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="company" class="_1b8c0a9f">Company</h3><ul class="list pl0" aria-labelledby="company"><li class="pv1"><a class="df995acb no-underline pr1" href="/about">About</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="https://github.blog/tag/npm/">Blog</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/press">Press</a></li></ul></div><div class="flex-auto pa4-ns pa3 w-30-ns w-50-m"><h3 id="terms" class="_1b8c0a9f">Terms & Policies</h3><ul class="list pl0" aria-labelledby="terms"><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/">Policies</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/terms">Terms of Use</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/conduct">Code of Conduct</a></li><li class="pv1"><a class="df995acb no-underline pr1" href="/policies/privacy">Privacy</a></li></ul></div></div></footer></div><div class="_8a62ca63 fixed top-0 left-0 z-999" style="opacity:0;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1)"></div></div></div><script integrity="sha512-H5a7b8+UFAE5GaffnBnkVD/ELzgwqHPwtp58Dla8LkfETon7SCliVTP6WlcX4YxfuiuAd4j55iFb/0JhpSQnaA==">window.__context__ = {"context":{"notifications":[],"csrftoken":"4wJVz3Zb8MowNlQgRgcTuPbfTYY4MWydoUUj2I6ONtA","userEmailVerified":null,"isV3SearchEnabled":false,"auditLogEnabled":false,"user":null,"documentContext":{"readme.data":"readme"},"undefined":true,"readme":{"ref":"readme","data":null},"versionsDownloads":{"2.0.1":15328,"1.0.1":15,"1.3.0":16445,"1.2.1":23,"2.1.1":53065,"2.1.0":107,"2.0.0":1456,"1.2.0":410,"1.1.0":1},"starAction":"/package/vite-plugin-lib-inject-css/star","provenance":{"enabled":false,"feedbackUrl":" https://github.com/npm/feedback"},"isSecurityPlaceholder":false,"private":false,"packument":{"author":{"name":"秦旭洋","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.pwcvg5qATIny3_5DLbVoG5o_hnl-be1f0obIxEdZvGY","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.j5tLwSyQ2aFcINrITp8lLb0NQvsWAwF98r_ZKKvAqLA","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.esLXGF-saabDwqN5ubhmvsQkEyQNMBnJnk9zZQlNJeM"}},"description":"Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.","homepage":"https://github.com/emosheeep/vite-plugin-lib-inject-css#readme","repository":"https://github.com/emosheeep/vite-plugin-lib-inject-css","distTags":{"latest":"2.1.1","beta":"2.1.0-beta.0"},"keywords":["vite","plugin","lib","build","vite-lib","vite-plugin","vite-build","css","style","styles","inject","inline"],"maintainers":[{"name":"qxy6675","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.pwcvg5qATIny3_5DLbVoG5o_hnl-be1f0obIxEdZvGY","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.j5tLwSyQ2aFcINrITp8lLb0NQvsWAwF98r_ZKKvAqLA","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.esLXGF-saabDwqN5ubhmvsQkEyQNMBnJnk9zZQlNJeM"}}],"name":"vite-plugin-lib-inject-css","license":"MIT","version":"2.1.1","versions":[{"version":"2.1.1","date":{"ts":1715585988002,"rel":"6 months ago"},"dist":{"integrity":"sha512-RIMeVnqBK/8I0E9nnQWzws6pdj5ilRMPJSnXYb6nWxNR4EmDPnksnb/ACoR5Fy7QfzULqS4gtQMrjwnNCC9zoA==","shasum":"39c5bb30dbb40c70e0d41a334097ce9b77e8e740","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.1.1.tgz","fileCount":8,"unpackedSize":25678,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzSCiyLBbFoCSDdkNgFJ2D07XHlVEP/irGQ1xydsBU4AiBYZhLR40sIu13KzdVQ7i8EX/9WKK/qhhxBL4YRGGhqJQ=="}]}},{"version":"2.1.0","date":{"ts":1715229666692,"rel":"7 months ago"},"dist":{"integrity":"sha512-4U2XKuzo05qOoFk7VXI0Pq9O4NPuo9xeb7axTbYCYEzWUShSbKuFErDz6YuA6PgWQDPJ5vDCPNfmTY3wfjZxtQ==","shasum":"de0763f21b56abf54a67db2f060fad34101df4b8","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.1.0.tgz","fileCount":8,"unpackedSize":25531,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPgDbE+asSk2y0fyVHcj7/UAV/igCYjVG+D2MOGxVe3AIgDXg7Wrz5/mBIGpw7+TPA6JSSYROMazE++Kv1ContnNA="}]}},{"version":"2.1.0-beta.0","date":{"ts":1714145376632,"rel":"7 months ago"},"dist":{"integrity":"sha512-9Lvix/8LY8pZplZ3tQBzQ1h22UM4QWWBCU93KinJDwf9uGRXICkC/EuYsm0ExRl5RMSStM5aFcVdvvuWZywRHw==","shasum":"3c38b198c0944b1129a5760dfc0c704ea450ab10","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.1.0-beta.0.tgz","fileCount":8,"unpackedSize":25504,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGe949IMFe39/t14iwHvJOHi3/lTqdxA8j6rvefQBEp/AiBrUlpZRi8g1b9+kGFAz2aGe9bPx7QOeGkq840r+VHf8A=="}]}},{"version":"2.0.1","date":{"ts":1711184248857,"rel":"8 months ago"},"dist":{"integrity":"sha512-86VU8m4t3TNPk9xfdnNDqn1OHkgrPHpP7B5wkVys4tWSLwMMIucCgJdc5wenGntLNMWKChJV0Ut3qGH6iGojMg==","shasum":"3243c1b87feb106f942a1bb205ca8cd8a424e72b","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.0.1.tgz","fileCount":8,"unpackedSize":24487,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAa5s/r1ugk0AfjUJrxGkqZBg6H3P1HtAYFrKL5fj6UAiEAh+txEgfAjP01X05tnBF4MIunuLGIq/wP+fd6CNboeEc="}]}},{"version":"2.0.0","date":{"ts":1708609434754,"rel":"9 months ago"},"dist":{"integrity":"sha512-5RK9eP2biW340FEbpI8eHZQfeqIz0+Glbkk4U1fZ1QKOvyaYy5K6TmW43KuhmGLizk2Vd4Nv7OwGpxq2wXclyQ==","shasum":"ea70a03c6fceabf4ed9f252c06e8313ed3e9730c","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.0.0.tgz","fileCount":8,"unpackedSize":23761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHg9JT9QhsetEekOc5qEIWgGsH7HHLzCerJbHcN9EnDQIgUJoDXd/S4lrAKhG8Pti7W05CF9DAvNXzy4gmTyXzFzg="}]}},{"version":"2.0.0-beta.0","date":{"ts":1708185584754,"rel":"9 months ago"},"dist":{"integrity":"sha512-vOGmdTebx42d7H9bbKo9KE+YG0FFKt70ewxQ2mYAvf+g17xEqher8jLaRMJHHpEFaXl2qC+l3q4EqV0otVyg+Q==","shasum":"d3bfd70cadd495e353ee3e4c8c3741507fa7d392","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.0.0-beta.0.tgz","fileCount":8,"unpackedSize":23595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9+uVPgKjkxcyxAJacEVysxnsdvlOJYXP4wlnnMi3w0AiEAgnFOZITh7Mb0qvV3XgBWBezSQAoF6bNmaWbphSd/PgU="}]}},{"version":"1.3.0","date":{"ts":1694239012304,"rel":"a year ago"},"dist":{"integrity":"sha512-Rldq36U9TDlpDom3yoLybfJtzn897+oMKdX0+fxbVYnYjRGnTtaFfnMmfOckH8GQ3cvGAKv9Ai1PWyE0amIbjg==","shasum":"d62e098d220076127282c5a9670a2e7826a69b63","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.3.0.tgz","fileCount":7,"unpackedSize":20858,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCK72t05pGj2dCm4jNYOr0BLPD6eTeIfvLxUqZh9lflQIgKpOdl0bjNmxARAnzSuTQyjf/WaKinBlRuD7tuJSKjvo="}]}},{"version":"1.2.1","date":{"ts":1692442128885,"rel":"a year ago"},"dist":{"integrity":"sha512-/gbneR7OyXihmHnByC/WlLOGHXufHoFvDt4jMFaI4WTs0niiLcKwS9RKbUPJGNgB26Y5GtFtqDLNnErTvwNW4g==","shasum":"12813d902d94d3a0cf77d62aff8353079a6208f9","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.2.1.tgz","fileCount":7,"unpackedSize":19460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDT9eBXKhfYT+vtuzlBu4gZRlHdcyDXD/7npzDUc0lx3AiEA9MZ1OiUhg5eiPzeQAoh1Mw/AM1G+Y1quxjwAqP86wcA="}]}},{"version":"1.2.0","date":{"ts":1682580140508,"rel":"2 years ago"},"dist":{"integrity":"sha512-mELCOWG0f0auFkDGQHAL7Ks9oQ6RhB0xHlZ6GA0mTLMkkQcHCrZ8mkJFoH+ryZTNqxNLlYTLqbrnPClOO0Fq/Q==","shasum":"40ffdd51f6e96e47a72b2df66e1cea6a23f495b2","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.2.0.tgz","fileCount":7,"unpackedSize":18429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlJdA4+AQY4aZ6iApQcklDgO3z1U4GMWc4imbDvmN3rAiBVIBQnjSZJ2QvpJs6BN5nr3iTYVGr/nJNAnB6bY5zdVA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSiKsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1ug//eBHimtxPy66v7gvoLrV/KDBoNMVk9wog7yBqS4y37vdGp0fq\r\nTblR28eWu7Al+BqVNJ7aq6L2WIAXThEhbJZx05hUcPPVAApIpF5VLy9UclXw\r\n/G+baBQJM+M6B5Shu6orMTwWavDQae6cUEdOiha7328Fymj1zLtQ1+B+YkJb\r\nDLclIjST7BdAfoqH2RdoTegvG4cs7SWAG1dTBu4psEnz/7JQ8uki6R4gdMRE\r\nyV/SAW2jKrA94VDc+0vQUBeGf4fuc14qpid0OXiGVTMvYH27tQRa651jpZzX\r\nAdiYukjsc9wz7mPdd27REAWEwj+tc9CJ4dPdrzvymJ8uT3toWkF07n7B9lmG\r\nbhqgIj6m9cyItnrIQ2fC0NXqf9dkXXDKrkFL1SOzGbgULo+whErQ2y2JKA1u\r\nC8Ey7nrXLY3bJB+U4iGlH4wvypxi+a8vMuSd4krHEZ3RwAJlHHs37NeLvo1i\r\nKx37xbfX8uOHAnCMLpPVuOOc8lVemeVGd9HIj5VKytYbIxQljEi77ppDstay\r\nhPYFruJcqxJcb/H8NOXDEp5jMQEh2TQr1KftZdgSGwBGbG7nGFjHQDBCWYfd\r\n+7fSj9cLgZOm89A8JcBLP3YwLEmIOl34Z2XJWDl4VVyVBEW6b1AJn3xybjr5\r\nTNZpOsFAAoPwdDuAg5fGmJ+1aB5dMSmgg68=\r\n=51uJ\r\n-----END PGP SIGNATURE-----\r\n"}},{"version":"1.1.0","date":{"ts":1680362792142,"rel":"2 years ago"},"dist":{"integrity":"sha512-SnPbXu1Wa28oJdsKY20owVWCmtQ3RXpDU51GiAgTC9vNdqvUiguxwruoKv19ukkJCxxd13WzkYguXkVndRglTw==","shasum":"e80e89db073b3918eb910f64d03a1df289972f21","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.1.0.tgz","fileCount":7,"unpackedSize":16408,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWoh3c7tX8DM2LLaUC/Zcszp9szlH9EyQXZMsHmi639AIhAP+Ye3i+V6pukBshJp+5cI7b7Au/25lCdqv3ti5gY27H"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKE0oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoNA/8CWi5rzUEhKMhekW5NUobvUOY1tLIzatg4YfJevQ+n/IB6oBg\r\na/Knwoky1yRn67wAEXlQFjT6B5Q6Wir6b3hXp3XmWv5Y5wVuMoGAw5j3QaQh\r\n6Xqm1TNzFOw+f3slx3sYwsqPYfUsBgbfXW/stps4Gw1y0PIqR6gyrqD4ZvxG\r\n2ztK+ZReDhg/MH8uYjtYadU99e9WtoVtBkONlxhS49adx70ln5Dl/p6t7mWb\r\nuQU027rh/a8MH6GzzqE9RmuMMN8Ec13VQGCyBxoI8l1TbxPdsr64aJefeBk5\r\n2Vwy1N5EDC8Glmqq+cE7xa7OIkMHdF424wohMh9qBI02HkVOKXolUgT+0myp\r\npcAxn+WRro0BmdkdRodsB5oY4w7QDDInN+ZEazujHp8yt9Y+iIYcs2DZDKwq\r\nqhpsik+hvDJea4Mvna9HJytfRzFIO2p94I1TNzUiMKR1/E/oz/b96IhkEyhW\r\n/MlPljodnJ08K33gsDzPuoyvJ9NNJKhG/D1Wsj1YAyiD3kYXWZxjjUwdKZGw\r\n3dxW8ZpdXBI/FDsx8ghBdbC+T5QBF4OqED372/uoKZxKxql39QeEZWd0VPKr\r\nGTtNZkcx/mUUWmP2jLeFCzFv1nG86fbpV+709X6QLOgWx9UYeH1S0KJa7XAO\r\n7Yt494aV19A81O3+OkLXddT2KItwL1J8o+I=\r\n=M8/+\r\n-----END PGP SIGNATURE-----\r\n"}},{"version":"1.0.1","date":{"ts":1679906887623,"rel":"2 years ago"},"dist":{"integrity":"sha512-9UFryvxlNBbuAEfAKQe4dsQEScY/Wt1XpZpT3zvCvI5Lt4N73iP7nFOL4RE7Ab4zfyiNIDyddpU3bNBkjJq1WA==","shasum":"831e432806f8131595ca3b956bb32b683884ae9e","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.0.1.tgz","fileCount":7,"unpackedSize":12375,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqZLDXJkz7x3yhsYlFcolTsj34f3gjV27npiFuZlNrBQIhAMxmxFSt1kugiOCHgAhnfS2ydPpbw2HYpZDLEo0f0xBC"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIVhHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/QA//WPbSvOOXdw5RDzLE3QoRrlwanHnyJQp2MqEDRAeFZJpf9At3\r\nWlNORQypf9+y6wqLfuHQ0IImXYcuX0ltm682jix8JYBIoEZd5L6detwwPdx7\r\nte90URoz+J/WLS81qevtOhA+fwB3Y3jzoLP+x7fhSKxPKBZkls3mud1jFxhA\r\nDwG5k+2aNghN9MsgYp/jSFCbNhqPVLPR2YFDkFDzcajDcXdItiPpC04GmMrV\r\nEtWvUAHHxaYe0an+rrNQUkiZfFuk4oiLMDsBwZwPgu/O7kqZbBl/ltGWET6f\r\nvMK/kiE1WaLFq+sBsjDwWtsJt8NTR3TzHC+gBzz4hZGX2/nWPAgo7chOTT/h\r\nrHdUFkpIyJCZKz9IGtupaOBTULv9nBx1b/eHMi+R0CC6q9IJB5nA91ELAyQy\r\np0t3qgubkRIRXmQDZI6JVYb4TYo7oxhypW2k/NsmhzA1nrj4LwwZSBkyzKyv\r\neITeiLr7yGbozb6C+osEejL2uLwFkbE9WXCmyOvEEoi6s9pUo9gv0k4EAB53\r\nzMnVaWirwBdNm2e66eylApgqBfA+bMTN1X17UDTkKVyGPkPsJXJM0ZsrSeJS\r\nQCNs+IGLMdEG61mCfggUz+VM/oqw7rajiWJNoiBVi5PRHraamoOHQxfbfTHt\r\nzi5vR/9KyX6JBdpkkzXf3F4WBM2+FpD1wSI=\r\n=59g6\r\n-----END PGP SIGNATURE-----\r\n"}},{"version":"1.0.0","date":{"ts":1679729674692,"rel":"2 years ago"},"dist":{"integrity":"sha512-gc9kCd0WDf5zdYnsmLElkVZQYHNXu5JXi0b3xSUtD2XO0hqQdpvXGz/SQMivZS990XzS3mkWbu9q7b3xxlAxyg==","shasum":"9bcaae86a2852a687b6661bfb9be512b1c4a16e7","tarball":"https://registry.npmjs.org/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-1.0.0.tgz","fileCount":6,"unpackedSize":11150,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaRt4MOHA6kUCdAC95H+ot04DFwv70+FeGJ9r2SDd/+QIgS3LV6iJg8TPRmKJ7AdNkSicRyfaTf2K3fLKCwsiCMk4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHqQKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmok+hAAnD/t8C3xbfciHNIMpF4F7YwC8rw98SiDaE8faru3yue50f0p\r\nchY9CxO6CRKwnhOowaHSx3+yLvlmXOANtqOMn5RZ7YiNmmURtrXwZtmTHblT\r\nBHQNn4RLqcGxBeRplACSHNFoe9SaqVo3MfZjrTc4bsxJSRsNbEwIQDD6EZ6o\r\nblxfz0rg8DgQ0O60fjhkD7OXboVkpLr3x9uhUXZqLvz0qax8E5NfvZSYInrB\r\n3VgSV8ntHyeLOnhcSwe6b4W/XaQM6MBKcv4S5IzmWcTcEqAqvkrYPK5dPMkG\r\nK9w84BvMmzrfYOIrnZy5NiV0v0JJSIWY9FWGQLhfMmlWRqdMu6iX3w55YHGQ\r\nKkprpi7bKIY/Y9tiVqSpN+xAf1pdpKcCLtR2h+cqT0EhDC6JchYPgeOFwpXl\r\njyYWw03Fv0xKeGZCDQ2EtaChu59jrDnuGu33mqcQE8b60nP5sv2P2xXa0nrE\r\nXt24X9J+1b33aog2wG5LX7xwcbpC//AN9vIpy5ngdPOYqkcc6p04s1kw56BN\r\nPkhw6CGuym40ghqiPFG3Zezf87NsfaNuqFH/pSYSo5UG2pNvNlea1hn5Ek3o\r\n//lzwlBU7FyhNvEDLG8bypL20kIWMPm1q1L6YCKJ9QaXrz17x+E602GVliqa\r\no49jbVSweY2biTLYiFGjI5Ujj8uLObgi0KM=\r\n=Odby\r\n-----END PGP SIGNATURE-----\r\n"}}],"deprecations":[]},"packageVersion":{"author":{"name":"秦旭洋","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.pwcvg5qATIny3_5DLbVoG5o_hnl-be1f0obIxEdZvGY","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.j5tLwSyQ2aFcINrITp8lLb0NQvsWAwF98r_ZKKvAqLA","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.esLXGF-saabDwqN5ubhmvsQkEyQNMBnJnk9zZQlNJeM"}},"description":"Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.","homepage":"https://github.com/emosheeep/vite-plugin-lib-inject-css#readme","repository":"https://github.com/emosheeep/vite-plugin-lib-inject-css","keywords":["vite","plugin","lib","build","vite-lib","vite-plugin","vite-build","css","style","styles","inject","inline"],"dependencies":{"@ast-grep/napi":"^0.22.3","magic-string":"^0.30.10","picocolors":"^1.0.0"},"devDependencies":{"@changesets/cli":"^2.27.1","@commitlint/cli":"^18.6.1","@commitlint/config-conventional":"^18.6.3","@types/node":"^20.12.11","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-config-standard":"^17.1.0","eslint-define-config":"^2.1.0","eslint-plugin-import":"^2.29.1","eslint-plugin-n":"^16.6.2","eslint-plugin-prettier":"^5.1.3","eslint-plugin-promise":"^6.1.1","lint-staged":"^15.2.2","prettier":"^3.2.5","simple-git-hooks":"^2.11.1","tsup":"^8.0.2","typescript":"^5.4.5","vite":"^5.2.11"},"maintainers":[{"name":"qxy6675","avatars":{"small":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTUwJmRlZmF1bHQ9cmV0cm8ifQ.pwcvg5qATIny3_5DLbVoG5o_hnl-be1f0obIxEdZvGY","medium":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.j5tLwSyQ2aFcINrITp8lLb0NQvsWAwF98r_ZKKvAqLA","large":"/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9hZGNkNDdkMmQ4MTJlY2M4YzU0MDczYjQ4YmVhMjBjYT9zaXplPTQ5NiZkZWZhdWx0PXJldHJvIn0.esLXGF-saabDwqN5ubhmvsQkEyQNMBnJnk9zZQlNJeM"}}],"name":"vite-plugin-lib-inject-css","license":"MIT","version":"2.1.1","versions":[],"deprecations":[],"types":"./dist/index.d.ts"},"packageUrl":"/package/vite-plugin-lib-inject-css","packageLinkingCallToActionHref":null,"package":"vite-plugin-lib-inject-css","linkingAllowedForPackage":false,"isStarred":false,"ghapi":"https://api.github.com/repos/emosheeep/vite-plugin-lib-inject-css","downloads":[{"downloads":14256,"label":"2023-11-28 to 2023-12-04"},{"downloads":15602,"label":"2023-12-05 to 2023-12-11"},{"downloads":16340,"label":"2023-12-12 to 2023-12-18"},{"downloads":11664,"label":"2023-12-19 to 2023-12-25"},{"downloads":6926,"label":"2023-12-26 to 2024-01-01"},{"downloads":15821,"label":"2024-01-02 to 2024-01-08"},{"downloads":19952,"label":"2024-01-09 to 2024-01-15"},{"downloads":19376,"label":"2024-01-16 to 2024-01-22"},{"downloads":20325,"label":"2024-01-23 to 2024-01-29"},{"downloads":21760,"label":"2024-01-30 to 2024-02-05"},{"downloads":19298,"label":"2024-02-06 to 2024-02-12"},{"downloads":19548,"label":"2024-02-13 to 2024-02-19"},{"downloads":20379,"label":"2024-02-20 to 2024-02-26"},{"downloads":23163,"label":"2024-02-27 to 2024-03-04"},{"downloads":26983,"label":"2024-03-05 to 2024-03-11"},{"downloads":32271,"label":"2024-03-12 to 2024-03-18"},{"downloads":29368,"label":"2024-03-19 to 2024-03-25"},{"downloads":22278,"label":"2024-03-26 to 2024-04-01"},{"downloads":30005,"label":"2024-04-02 to 2024-04-08"},{"downloads":29497,"label":"2024-04-09 to 2024-04-15"},{"downloads":34609,"label":"2024-04-16 to 2024-04-22"},{"downloads":30947,"label":"2024-04-23 to 2024-04-29"},{"downloads":28714,"label":"2024-04-30 to 2024-05-06"},{"downloads":36730,"label":"2024-05-07 to 2024-05-13"},{"downloads":54979,"label":"2024-05-14 to 2024-05-20"},{"downloads":56293,"label":"2024-05-21 to 2024-05-27"},{"downloads":59260,"label":"2024-05-28 to 2024-06-03"},{"downloads":59044,"label":"2024-06-04 to 2024-06-10"},{"downloads":56643,"label":"2024-06-11 to 2024-06-17"},{"downloads":61810,"label":"2024-06-18 to 2024-06-24"},{"downloads":59280,"label":"2024-06-25 to 2024-07-01"},{"downloads":62866,"label":"2024-07-02 to 2024-07-08"},{"downloads":72177,"label":"2024-07-09 to 2024-07-15"},{"downloads":76125,"label":"2024-07-16 to 2024-07-22"},{"downloads":78677,"label":"2024-07-23 to 2024-07-29"},{"downloads":90623,"label":"2024-07-30 to 2024-08-05"},{"downloads":88299,"label":"2024-08-06 to 2024-08-12"},{"downloads":83271,"label":"2024-08-13 to 2024-08-19"},{"downloads":81894,"label":"2024-08-20 to 2024-08-26"},{"downloads":87804,"label":"2024-08-27 to 2024-09-02"},{"downloads":91013,"label":"2024-09-03 to 2024-09-09"},{"downloads":77312,"label":"2024-09-10 to 2024-09-16"},{"downloads":74790,"label":"2024-09-17 to 2024-09-23"},{"downloads":83611,"label":"2024-09-24 to 2024-09-30"},{"downloads":82062,"label":"2024-10-01 to 2024-10-07"},{"downloads":77355,"label":"2024-10-08 to 2024-10-14"},{"downloads":79126,"label":"2024-10-15 to 2024-10-21"},{"downloads":86941,"label":"2024-10-22 to 2024-10-28"},{"downloads":78141,"label":"2024-10-29 to 2024-11-04"},{"downloads":80731,"label":"2024-11-05 to 2024-11-11"},{"downloads":82714,"label":"2024-11-12 to 2024-11-18"},{"downloads":71041,"label":"2024-11-19 to 2024-11-25"}],"dependents":{"dependentsCount":84,"dependentsTruncated":["ux-fileviewer","@allomambo/queso","ux-cesium","puzzle-bot-ui","@nocobase/build","@green-dot-red/mortgage-calculator","bex-table","elyb-pappers","@versini/dev-dependencies-client","@botstacks/chat-react","template-library-vite","shared-web-components","kui-kev","dynamic-components-test-cs3","@allomambo/galletita","react-ad-bs-calendar","ml-table-column","@cs3/dynamic-components","ui-complex","hyperverge-intern-ui-library-2","mm-split-test","@bonding/event-component","@hexlet/chatbot-v2","common-popup","sb-react","oconnect-ui","rex-ui-kit","@hexlet/testing-task-manager","@mreycode/system-ui","setxo-components","scallywag-ui","nt552n7347d722p2","@unholster/react-seisveinte","react-wind-components","auto-form-fill","core_ui_design_system","iran-map-react","esarj-ui-lib","onthis-library","react-modal-animation","react-viewer-pan-zoom","react-softsheet","atleta-ui","mainstack-payments","richlook-ui","@tarzi/jarvis","phgsc2","@wb-sdk/promo-autocampaign","chatbot-ui-rajantha-test","mapglv"]},"capsule":{"name":"vite-plugin-lib-inject-css","description":"Inject css at the top of chunk file in lib mode using `import` statement, support multiple entries.","maintainers":["qxy6675"],"dist-tags":{"latest":"2.1.1","beta":"2.1.0-beta.0"},"lastPublish":{"maintainer":"qxy6675","time":"2024-05-13T07:39:48.002Z"},"types":{"typescript":{"bundled":"./dist/index.d.ts"}}},"canEditPackage":false},"chunks":{"commons":["commons.952528417fb3cdb6027b.js","commons.952528417fb3cdb6027b.js.map"],"styles":["styles.f4ecd66d6d33560536a6.css","minicssextractbug.87e48545b9cd34731708.js","styles.f4ecd66d6d33560536a6.css.map","minicssextractbug.87e48545b9cd34731708.js.map"],"acceptance/acceptance":["acceptance/acceptance.8f158bb6f917058edc15.js","acceptance/acceptance.8f158bb6f917058edc15.js.map"],"audit-logs/actions/common/auditLogContainer":["audit-logs/actions/common/auditLogContainer.b5aa029a15744e7ef73d.js","audit-logs/actions/common/auditLogContainer.b5aa029a15744e7ef73d.js.map"],"audit-logs/actions/common/dot":["audit-logs/actions/common/dot.c9c77b74c1f2a46df71a.js","audit-logs/actions/common/dot.c9c77b74c1f2a46df71a.js.map"],"audit-logs/actions/common/filterActions":["audit-logs/actions/common/filterActions.1c4e17f8eee2580fb525.js","audit-logs/actions/common/filterActions.1c4e17f8eee2580fb525.js.map"],"audit-logs/actions/common/spaceGap":["audit-logs/actions/common/spaceGap.492b805c8fd7f0477e90.js","audit-logs/actions/common/spaceGap.492b805c8fd7f0477e90.js.map"],"audit-logs/actions/orgAddUser":["audit-logs/actions/orgAddUser.0f31c5ea1667ae4f4352.js","audit-logs/actions/orgAddUser.0f31c5ea1667ae4f4352.js.map"],"audit-logs/actions/orgCreateTeam":["audit-logs/actions/orgCreateTeam.6b14599a54a04e6d1051.js","audit-logs/actions/orgCreateTeam.6b14599a54a04e6d1051.js.map"],"audit-logs/actions/orgDeleteTeam":["audit-logs/actions/orgDeleteTeam.aae4b5efa098d755e655.js","audit-logs/actions/orgDeleteTeam.aae4b5efa098d755e655.js.map"],"audit-logs/actions/orgRemoveUser":["audit-logs/actions/orgRemoveUser.e08363d532659cd80b38.js","audit-logs/actions/orgRemoveUser.e08363d532659cd80b38.js.map"],"audit-logs/actions/packageAddDistTag":["audit-logs/actions/packageAddDistTag.04901ad0124d77154cce.js","audit-logs/actions/packageAddDistTag.04901ad0124d77154cce.js.map"],"audit-logs/actions/packageDeprecate":["audit-logs/actions/packageDeprecate.35c6da318f905a6bf1f6.js","audit-logs/actions/packageDeprecate.35c6da318f905a6bf1f6.js.map"],"audit-logs/actions/packagePublish":["audit-logs/actions/packagePublish.729831beb78e6d96f9f2.js","audit-logs/actions/packagePublish.729831beb78e6d96f9f2.js.map"],"audit-logs/actions/packageRemoveDistTag":["audit-logs/actions/packageRemoveDistTag.22e2962ec6870a30e58e.js","audit-logs/actions/packageRemoveDistTag.22e2962ec6870a30e58e.js.map"],"audit-logs/actions/packageUnpublish":["audit-logs/actions/packageUnpublish.b324240e345d5642454d.js","audit-logs/actions/packageUnpublish.b324240e345d5642454d.js.map"],"audit-logs/actions/packageUpdateAccess":["audit-logs/actions/packageUpdateAccess.36b80a359bfca15db60c.js","audit-logs/actions/packageUpdateAccess.36b80a359bfca15db60c.js.map"],"audit-logs/actions/teamAddPackage":["audit-logs/actions/teamAddPackage.ea101b31350f95441e06.js","audit-logs/actions/teamAddPackage.ea101b31350f95441e06.js.map"],"audit-logs/actions/teamAddUser":["audit-logs/actions/teamAddUser.c0e25078bded50e7bb86.js","audit-logs/actions/teamAddUser.c0e25078bded50e7bb86.js.map"],"audit-logs/actions/teamRemovePackage":["audit-logs/actions/teamRemovePackage.eda9b927db6081e54b14.js","audit-logs/actions/teamRemovePackage.eda9b927db6081e54b14.js.map"],"audit-logs/actions/teamRemoveUser":["audit-logs/actions/teamRemoveUser.9d04376f4805de3e9ed9.js","audit-logs/actions/teamRemoveUser.9d04376f4805de3e9ed9.js.map"],"audit-logs/actions/teamUpdatePackageAccess":["audit-logs/actions/teamUpdatePackageAccess.1c12462cbf2723411be2.js","audit-logs/actions/teamUpdatePackageAccess.1c12462cbf2723411be2.js.map"],"audit-logs/audit-logs":["audit-logs/audit-logs.84bf18eb71c53a904abd.js","audit-logs/audit-logs.84bf18eb71c53a904abd.js.map"],"audit-logs/audit-search-input":["audit-logs/audit-search-input.523cd907c3783e6df929.js","audit-logs/audit-search-input.523cd907c3783e6df929.js.map"],"audit-logs/list":["audit-logs/list.f1352bddddbcaafec2c8.js","audit-logs/list.f1352bddddbcaafec2c8.js.map"],"audit-logs/no-logs":["audit-logs/no-logs.981070ccacb6bef1146a.js","audit-logs/no-logs.981070ccacb6bef1146a.js.map"],"audit-logs/no-logs-with-query":["audit-logs/no-logs-with-query.3c718bcab9eb6a9aac8c.js","audit-logs/no-logs-with-query.3c718bcab9eb6a9aac8c.js.map"],"auth/account-recovery-message":["auth/account-recovery-message.e3e56d9de9fc4ab89bde.js","auth/account-recovery-message.e3e56d9de9fc4ab89bde.js.map"],"auth/authentication-successful":["auth/authentication-successful.89e95385555c15026571.js","auth/authentication-successful.89e95385555c15026571.js.map"],"auth/email-otp":["auth/email-otp.3279bf105e863189d4a7.js","auth/email-otp.3279bf105e863189d4a7.js.map"],"auth/escalate":["auth/escalate.b5713ed563299a8ab350.js","auth/escalate.b5713ed563299a8ab350.js.map"],"auth/forgot":["auth/forgot.b758e342a668cf7f966a.js","auth/forgot.b758e342a668cf7f966a.js.map"],"auth/forgot-sent":["auth/forgot-sent.497c06da5eb4147f3aee.js","auth/forgot-sent.497c06da5eb4147f3aee.js.map"],"auth/forgot-sent-anonymized":["auth/forgot-sent-anonymized.2f4c7b204e053346dbb7.js","auth/forgot-sent-anonymized.2f4c7b204e053346dbb7.js.map"],"auth/invite-signup":["auth/invite-signup.671621f2d1bc47aee443.js","auth/invite-signup.671621f2d1bc47aee443.js.map"],"auth/liminal-login-footer":["auth/liminal-login-footer.a0e6086f91e35dc77464.js","auth/liminal-login-footer.a0e6086f91e35dc77464.js.map"],"auth/login":["auth/login.d504707f96dfd1e66f79.js","auth/login.d504707f96dfd1e66f79.js.map"],"auth/otp":["auth/otp.d66d1f2c3e7ac740a735.js","auth/otp.d66d1f2c3e7ac740a735.js.map"],"auth/password":["auth/password.bd7abeefd167e1477640.js","auth/password.bd7abeefd167e1477640.js.map"],"auth/recovery-code":["auth/recovery-code.263fceaeaa0cf3d1241f.js","auth/recovery-code.263fceaeaa0cf3d1241f.js.map"],"auth/recovery-email-otp":["auth/recovery-email-otp.2b1f15673c07b3aa1ba1.js","auth/recovery-email-otp.2b1f15673c07b3aa1ba1.js.map"],"auth/reset-password":["auth/reset-password.4d9f8a6fe7a7f23eb7e8.js","auth/reset-password.4d9f8a6fe7a7f23eb7e8.js.map"],"auth/signup":["auth/signup.67a5543f4acde67bf8cf.js","auth/signup.67a5543f4acde67bf8cf.js.map"],"auth/test/email-otp-test":["auth/test/email-otp-test.a6d6867594488d8f2281.js","auth/test/email-otp-test.a6d6867594488d8f2281.js.map"],"auth/test/escalate-test":["auth/test/escalate-test.9fd56559c2d09eea5c10.js","auth/test/escalate-test.9fd56559c2d09eea5c10.js.map"],"auth/test/otp-test":["auth/test/otp-test.d1c4bddaa5a5d30df9db.js","auth/test/otp-test.d1c4bddaa5a5d30df9db.js.map"],"auth/test/webauthn-login-test":["auth/test/webauthn-login-test.ffe93475a9861015a293.js","auth/test/webauthn-login-test.ffe93475a9861015a293.js.map"],"auth/webauthn-cli-login":["auth/webauthn-cli-login.ffa27335345c254f57e6.js","auth/webauthn-cli-login.ffa27335345c254f57e6.js.map"],"auth/webauthn-login":["auth/webauthn-login.2dc9191ceaad30640841.js","auth/webauthn-login.2dc9191ceaad30640841.js.map"],"billing/delete-org":["billing/delete-org.d20bd0f1aaacb8fc90d7.js","billing/delete-org.d20bd0f1aaacb8fc90d7.js.map"],"billing/detail":["billing/detail.f9a60c5242880e6d43f5.js","billing/detail.f9a60c5242880e6d43f5.js.map"],"billing/downgrade":["billing/downgrade.92d9ff7d4bff0441004b.js","billing/downgrade.92d9ff7d4bff0441004b.js.map"],"billing/upgrade":["billing/upgrade.173ac6b34ec110b0769f.js","billing/upgrade.173ac6b34ec110b0769f.js.map"],"contact/contact":["contact/contact.c9b645367f4763a98ab6.js","contact/contact.c9b645367f4763a98ab6.js.map"],"contact/recovery-support-v1":["contact/recovery-support-v1.c8e1e05b320c8adcb9e4.js","contact/recovery-support-v1.c8e1e05b320c8adcb9e4.js.map"],"contact/recovery-support-v2":["contact/recovery-support-v2.b41619f510e8f2d4edbf.js","contact/recovery-support-v2.b41619f510e8f2d4edbf.js.map"],"contact/sidebar":["contact/sidebar.f656df78b2091c8da4d8.js","contact/sidebar.f656df78b2091c8da4d8.js.map"],"debug/badstatus":["debug/badstatus.1de5094f3e6a9b99c36d.js","debug/badstatus.1de5094f3e6a9b99c36d.js.map"],"debug/detail":["debug/detail.776dd808fa58d32672a7.js","debug/detail.776dd808fa58d32672a7.js.map"],"debug/failcomponent":["debug/failcomponent.ae7923483c75cca10fdf.js","debug/failcomponent.ae7923483c75cca10fdf.js.map"],"dev/choose-template":["dev/choose-template.0b7cf2c2179df20d3fe7.js","dev/choose-template.0b7cf2c2179df20d3fe7.js.map"],"dsr/dsr-export":["dsr/dsr-export.79524fae1e1d404b8626.js","dsr/dsr-export.79524fae1e1d404b8626.js.map"],"egg/egg":["egg/egg.d344471ef4f8a3a4b35e.js","egg/egg.d344471ef4f8a3a4b35e.js.map"],"errors/bad-request":["errors/bad-request.04f47df3f894a59d2ba8.js","errors/bad-request.04f47df3f894a59d2ba8.js.map"],"errors/not-found":["errors/not-found.d30e6bf9e464ad027451.js","errors/not-found.d30e6bf9e464ad027451.js.map"],"errors/server":["errors/server.4a0b63df0ef09bc42ed0.js","errors/server.4a0b63df0ef09bc42ed0.js.map"],"errors/tea-pot":["errors/tea-pot.02c8f951700ed9cca39e.js","errors/tea-pot.02c8f951700ed9cca39e.js.map"],"errors/template":["errors/template.39d816e653eb9347d070.js","errors/template.39d816e653eb9347d070.js.map"],"flatpage/flatpage":["flatpage/flatpage.50d707cbe94bd794d7ad.js","flatpage/flatpage.50d707cbe94bd794d7ad.js.map"],"homepage/homepage":["homepage/homepage.94c4cd79e3f3b0cf698f.js","homepage/homepage.94c4cd79e3f3b0cf698f.js.map"],"homepage/homepage-logged-in":["homepage/homepage-logged-in.6e266a3860a707cb4f8b.js","homepage/homepage-logged-in.6e266a3860a707cb4f8b.js.map"],"orgs/create":["orgs/create.d00b894dfeff60f6f09a.js","orgs/create.d00b894dfeff60f6f09a.js.map"],"orgs/detail":["orgs/detail.e51c4b342f71b8f536f5.js","orgs/detail.e51c4b342f71b8f536f5.js.map"],"orgs/invite":["orgs/invite.ab6d6e71682f3ece9b32.js","orgs/invite.ab6d6e71682f3ece9b32.js.map"],"orgs/tfa-enforced":["orgs/tfa-enforced.7d10b30d6fb9f85a4b9d.js","orgs/tfa-enforced.7d10b30d6fb9f85a4b9d.js.map"],"orgs/upgrade":["orgs/upgrade.73eb828ed46f63a37de5.js","orgs/upgrade.73eb828ed46f63a37de5.js.map"],"package-list/package-list":["package-list/package-list.03a9b00f029a35abc59b.js","package-list/package-list.03a9b00f029a35abc59b.js.map"],"package/delete-package":["package/delete-package.0e8a8d4066805ee37ba1.js","package/delete-package.0e8a8d4066805ee37ba1.js.map"],"package/deprecate-package":["package/deprecate-package.7c2b91a268103f716f57.js","package/deprecate-package.7c2b91a268103f716f57.js.map"],"package/error-message-package":["package/error-message-package.fb56c6df5c7fa8925b71.js","package/error-message-package.fb56c6df5c7fa8925b71.js.map"],"package/package":["package/package.5044515370cc176c8c72.js","package/package.5044515370cc176c8c72.js.map"],"profile/profile":["profile/profile.4af61263f8bb9bfe3d78.js","profile/profile.4af61263f8bb9bfe3d78.js.map"],"recovery-codes/show":["recovery-codes/show.2e2849d510004b535268.js","recovery-codes/show.2e2849d510004b535268.js.map"],"search/search":["search/search.634d21be6ef9c38ffbf7.js","search/search.634d21be6ef9c38ffbf7.js.map"],"searchv2/search":["searchv2/search.7547af08116f24d09906.js","searchv2/search.7547af08116f24d09906.js.map"],"settings/change-password":["settings/change-password.65293989a2bf07659fab.js","settings/change-password.65293989a2bf07659fab.js.map"],"settings/delete-account":["settings/delete-account.18f07696dc2142a3f122.js","settings/delete-account.18f07696dc2142a3f122.js.map"],"settings/email":["settings/email.99e7dcdb2b503c6f65b4.js","settings/email.99e7dcdb2b503c6f65b4.js.map"],"settings/memberships":["settings/memberships.a94ffe24356097b24e34.js","settings/memberships.a94ffe24356097b24e34.js.map"],"settings/packages":["settings/packages.dc2ed426ee6f9ab953c7.js","settings/packages.dc2ed426ee6f9ab953c7.js.map"],"settings/profile":["settings/profile.841338f769bde181e4f6.js","settings/profile.841338f769bde181e4f6.js.map"],"teams/create":["teams/create.4645f75c4a163e383c1c.js","teams/create.4645f75c4a163e383c1c.js.map"],"teams/detail":["teams/detail.1737f413ba412903a31e.js","teams/detail.1737f413ba412903a31e.js.map"],"teams/list":["teams/list.8e98a5836b857134ad95.js","teams/list.8e98a5836b857134ad95.js.map"],"teams/packages":["teams/packages.d5aae1614f1e2540d3eb.js","teams/packages.d5aae1614f1e2540d3eb.js.map"],"teams/users":["teams/users.0631f9d631c8a639b289.js","teams/users.0631f9d631c8a639b289.js.map"],"tfa/additional-options":["tfa/additional-options.925102a4f64d5f0e7ee9.js","tfa/additional-options.925102a4f64d5f0e7ee9.js.map"],"tfa/enable":["tfa/enable.728c831546b188c8627f.js","tfa/enable.728c831546b188c8627f.js.map"],"tfa/list":["tfa/list.1aff1464b6de13b88bc7.js","tfa/list.1aff1464b6de13b88bc7.js.map"],"tfa/recovery-codes":["tfa/recovery-codes.a3d212fbca5e1d5340bf.js","tfa/recovery-codes.a3d212fbca5e1d5340bf.js.map"],"tfa/security-key-list":["tfa/security-key-list.f2bbb09dc97c41c81d5f.js","tfa/security-key-list.f2bbb09dc97c41c81d5f.js.map"],"tfa/showTFAQRCode":["tfa/showTFAQRCode.cd5cd1f111367ad58d80.js","tfa/showTFAQRCode.cd5cd1f111367ad58d80.js.map"],"tfa/showTFASuccess":["tfa/showTFASuccess.592bef5c6a6c29198c44.js","tfa/showTFASuccess.592bef5c6a6c29198c44.js.map"],"tfa/tfa-disable":["tfa/tfa-disable.f34ee1512688be89995a.js","tfa/tfa-disable.f34ee1512688be89995a.js.map"],"tfa/tfa-mode-selection":["tfa/tfa-mode-selection.4bdb7cddaa59b1335229.js","tfa/tfa-mode-selection.4bdb7cddaa59b1335229.js.map"],"tfa/tfa-password-entry":["tfa/tfa-password-entry.e60eb4b2d9189606ec34.js","tfa/tfa-password-entry.e60eb4b2d9189606ec34.js.map"],"tfa/totp":["tfa/totp.74c4cb8a9e68a54db72c.js","tfa/totp.74c4cb8a9e68a54db72c.js.map"],"tokens/create":["tokens/create.0f80d0a14c271070d7c8.js","tokens/create.0f80d0a14c271070d7c8.js.map"],"tokens/create-gat":["tokens/create-gat.5e0a3682462d9c0fb900.js","tokens/create-gat.5e0a3682462d9c0fb900.js.map"],"tokens/gat-details":["tokens/gat-details.a1f7e70ebc8f3250d165.js","tokens/gat-details.a1f7e70ebc8f3250d165.js.map"],"tokens/gat/allowed-ip-ranges-input":["tokens/gat/allowed-ip-ranges-input.791f1c60453a65ee7b82.js","tokens/gat/allowed-ip-ranges-input.791f1c60453a65ee7b82.js.map"],"tokens/gat/constants":["tokens/gat/constants.c1d240b65fa21a482335.js","tokens/gat/constants.c1d240b65fa21a482335.js.map"],"tokens/gat/divider":["tokens/gat/divider.8a57d4da9e05b7d8d11b.js","tokens/gat/divider.8a57d4da9e05b7d8d11b.js.map"],"tokens/gat/expiration-days-input":["tokens/gat/expiration-days-input.7c4acaaf2847fbaa5c43.js","tokens/gat/expiration-days-input.7c4acaaf2847fbaa5c43.js.map"],"tokens/gat/gat-expiration":["tokens/gat/gat-expiration.8723ab9bd6b760a18a08.js","tokens/gat/gat-expiration.8723ab9bd6b760a18a08.js.map"],"tokens/gat/gat-input":["tokens/gat/gat-input.880fdad4cd129763ed91.js","tokens/gat/gat-input.880fdad4cd129763ed91.js.map"],"tokens/gat/organizations-input":["tokens/gat/organizations-input.31a089d45205c4df7d63.js","tokens/gat/organizations-input.31a089d45205c4df7d63.js.map"],"tokens/gat/organizations-section":["tokens/gat/organizations-section.5000e95cd864cd836844.js","tokens/gat/organizations-section.5000e95cd864cd836844.js.map"],"tokens/gat/packages-and-scopes-input":["tokens/gat/packages-and-scopes-input.f529abc764ac172688e8.js","tokens/gat/packages-and-scopes-input.f529abc764ac172688e8.js.map"],"tokens/gat/packages-and-scopes-section":["tokens/gat/packages-and-scopes-section.f40d2902fea20d2e8dfd.js","tokens/gat/packages-and-scopes-section.f40d2902fea20d2e8dfd.js.map"],"tokens/gat/permissions-input":["tokens/gat/permissions-input.9187d368a61870ca6756.js","tokens/gat/permissions-input.9187d368a61870ca6756.js.map"],"tokens/gat/section":["tokens/gat/section.22e3e32d4745b51dc57c.js","tokens/gat/section.22e3e32d4745b51dc57c.js.map"],"tokens/gat/section-heading":["tokens/gat/section-heading.6a97c6f3a22e91f123c7.js","tokens/gat/section-heading.6a97c6f3a22e91f123c7.js.map"],"tokens/gat/selected-items":["tokens/gat/selected-items.f48fcf5071f15400da12.js","tokens/gat/selected-items.f48fcf5071f15400da12.js.map"],"tokens/gat/utils":["tokens/gat/utils.a81a368fd699d790cc83.js","tokens/gat/utils.a81a368fd699d790cc83.js.map"],"tokens/generate-token":["tokens/generate-token.f42fe92aeb2b0da3d8db.js","tokens/generate-token.f42fe92aeb2b0da3d8db.js.map"],"tokens/list":["tokens/list.2f588807902b50c1aafe.js","tokens/list.2f588807902b50c1aafe.js.map"],"vouchers/view":["vouchers/view.617c38480b3a48c14719.js","vouchers/view.617c38480b3a48c14719.js.map"]},"hash":"952528417fb3cdb6027b","name":"package/package","containerId":"app","headerName":"x-spiferack","publicPath":"https://static-production.npmjs.com/"}</script><script crossorigin="anonymous" src="https://static-production.npmjs.com/commons.952528417fb3cdb6027b.js"></script> <script crossorigin="anonymous" src="https://static-production.npmjs.com/minicssextractbug.87e48545b9cd34731708.js"></script> <script crossorigin="anonymous" src="https://static-production.npmjs.com/package/package.5044515370cc176c8c72.js"></script> </body> </html>