-
Notifications
You must be signed in to change notification settings - Fork 32
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
CSS issue if importing some svelte in contentScript AND in options #12
Comments
Thanks for the repo that demonstrates the issue! I have a branch that refactors the way chunk assets are processed for Vite 2.9 here that may fix it. I can test it with your repo later. |
I can test it quickly as soon as you release a snapshot! The repo does not directly reproduce the issue, you'll need to remove the duplicate file from |
I checked and made some tweaks to that branch and it'll fix that issue. It'll be part of an upcoming 1.0.0 release, though there are some breaking changes that'll require some small code changes on your end. |
I can manage that! thank you! |
I can confirm the version 1.0.2 does fix the issue. Thanks! |
If you release a snapshot I could test tomorrow!
Le mer. 6 avr. 2022 à 00:27, Ruben Medina ***@***.***> a
écrit :
… Thanks for the repo that demonstrates the issue! I have a branch that
refactors the way chunk assets are processed for Vite 2.9 here
<https://github.com/samrum/vite-plugin-web-extension/tree/vite-2.9.0>
that may fix it. I can test it with your repo later.
—
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBW2JL2HT5CM6VNRWQW5LVDS45DANCNFSM5SUBLWVQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I wanted to have a common TabBar.svelte used in the contentScript app as well as in the options App.
So the file architecture look like
The issue is as soon as the options App.svelte import the TabBar, the
contentScript/primary/main.z2EEd.css
is not longer generated upon build.For know I'm duplicating the file to prevent this issue, I've no clue how to fix this correctly though.
My repo is here: https://github.com/HugoGresse/app-store-review-templates
You'll need to import the
App.svelte
from the contentScript intooptions/App.svelte
The text was updated successfully, but these errors were encountered: