We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d489bce commit 6c6c9e2Copy full SHA for 6c6c9e2
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@idrinth-api-bench/rollup-plugin-react-modular-css",
3
- "version": "1.2.1",
+ "version": "1.2.2",
4
"description": "Provides a plugin to split css files out separately.",
5
"main": "src/index.js",
6
"repository": {
src/load.ts
export default (hash: string, name: string) => {
const global = window || this || {};
- const header = global.document.getElementsByTagName('header')[0];
+ const header = global.document.getElementsByTagName('head')[0];
const path = `/assets/${name}-${hash}.min.css`;
if (global.document.querySelector(`link[href='${ path }']`)) {
return;
0 commit comments