First iteration of my portfolio site.
This project is now only used as a demo for rollup-plugin-fresh.
Visit current iteration of portfolio by going to portfolio-svelte-v2.
This is an esm project, so all the files are kept in public directory.
rollup-plugin-fresh helps with that by removing all the files from that directory, except the default files(specified in rollup.config.js file).
Fork and install the dependencies.
npm install
...then start Rollup:
npm run dev
You can start editing files and watch as rollup creates new mapped files as it compiles the project.
Now instead of having to manually remove all the files, you can just restart the server.
CTRL+c(windows)
then
npm run dev
rollup-plugin-fresh will automatically remove the unused files for you so you can start fresh.
Visit rollup-plugin-fresh README for more information and configuration options.