i created a library with vanilla js and css, but it just work when i import the js and css, i want to use just importing the file js
right now i am importing this way:
<head>
<script src="../lib.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
but its possible only with this?
<head>
<script src="../lib.js"></script>
</head>