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

How to include raw files (e.g. CSS) in bundle size #10

Closed
dpschen opened this issue Nov 7, 2021 · 3 comments
Closed

How to include raw files (e.g. CSS) in bundle size #10

dpschen opened this issue Nov 7, 2021 · 3 comments

Comments

@dpschen
Copy link

dpschen commented Nov 7, 2021

How can I include files like CSS in the final bundle size?

E.g. I wanted to compare the Vue 3 Version of v-tooltip with the vue2 version and for that wanted to include the CSS:

https://bundle.js.org/?bundle&share=KYDwDg9gTgLgBAbzgNQCoQgGxgSzHAXzgDMoIBbOAIgAsYYwBnALgHpWBXAOzAGsBzAHQBjCqwBuAWhgZseAAIAWQQAZVkgEbAYAQ0EAmVgBMcjGBOmzcYQeRxdBAK0ZUA3ACh3OcpFhwA5HQMLOzcfEKi5BYyWNZKqupaugbGpuZSMXI2woyM-kA

@okikio
Copy link
Owner

okikio commented Nov 8, 2021

Sorry for the late response. This might be a little difficult, because CSS is treated differently than js, but I'll run a couple experiments and get back to you

@okikio
Copy link
Owner

okikio commented Nov 8, 2021

@dpschen
Copy link
Author

dpschen commented Nov 8, 2021

Sorry for the late response.

No worries that was super fast =)
That solves the issue for me. Thank you so much 🥳

@dpschen dpschen closed this as completed Nov 8, 2021
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

2 participants