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

Fix, default to 'inject' css option in Svelte transformer #955

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

JoacoEsteban
Copy link
Contributor

Details

This PR changes the default value of the css option in the Svelte transformer to inject instead of external

When set to external the outputted css file is not included in the bundle and never ends being used by content scripts. Setting it to inject embeds the css in the bundled js and it ends up being applied in the content scripts.

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I agree to license this contribution under the MIT LICENSE
  • I checked the current PR for duplication.

Contacts

  • (OPTIONAL) Discord ID: 182694885701189639

If your PR is accepted, we will award you with the Contributor role on Discord server.

To join the server, visit: https://www.plasmo.com/s/d

@louisgv
Copy link
Contributor

louisgv commented Apr 25, 2024

Ooh great find!!! Thank you for the PR :D @avi12 you might like 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

Successfully merging this pull request may close these issues.

2 participants