Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import.meta.PLUGIN_WEB_EXT_CHUNK_CSS_PATHS doesn't contain all CSS files referenced #128

Open
1mehal opened this issue Sep 1, 2023 · 0 comments

Comments

@1mehal
Copy link

1mehal commented Sep 1, 2023

I'm trying to load into shadow dom a simple page

<script lang="ts">
	import { Avatar } from '@skeletonlabs/skeleton';
</script>

<div>
	<h1>My New Web Extension</h1>
</div>
<Avatar src="https://i.pravatar.cc/" />
<style>
	:host {
		position: fixed;
		display: inline-block;
		top: 29px;
		right: 20px;
		z-index: 99999999;
	}
</style>

This requires to load Skeleton UI css, however in import.meta.PLUGIN_WEB_EXT_CHUNK_CSS_PATHS I only have 1 available CSS from my actual page, and the same in webAccessibleResources -> I don't have CSS files listed.

Is there any workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant