refactor: style loading

This commit is contained in:
cha0s 2024-01-11 05:06:32 -06:00
parent 25cc07b7cd
commit 5cd735c11f

View File

@ -13,9 +13,6 @@
} }
</style> </style>
<%= htmlWebpackPlugin.tags.headTags %> <%= htmlWebpackPlugin.tags.headTags %>
<% styleFiles.forEach(({content, href}) => { %>
<style data-href="<%= href %>"><%= content %></style>
<% }); %>
</head> </head>
<body> <body>
<%= htmlWebpackPlugin.tags.bodyTags %> <%= htmlWebpackPlugin.tags.bodyTags %>