Traditionally if I have external scss files (global1.scss, global2.scss) in svelte, I would import them inside App.svelte like below code, and at the end, all external scss files will be merged into bundle.css
//App.svelte
...
<style>
:global {
import "styles/global1"; //will import global1.scss
import "styles/global2"; //will import global1.scss
}
</style>
However, I have sightly different requirement for my app. Instead of all scss being merged into same css file, I want a new bundle for each external scss file like so:
bundle.css // for component styles
global1.css //for global1.scss
global2.css //for global2.scss
How can I achieve this? Thanks!