I want to export components to multiple files from main.js, something like this:
main.js:
import Block1 from './Block1.svelte';
import Block2 from './Block2.svelte';
export const Block1 = new Block1({ target: document.body}); //to index.html
export const Block2 = new Block2({ target: document.body}); //to index2.html
How to compile multiple .html files to public directory in svelt js?