Skip to content

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

@1mehal

Description

@1mehal

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions