Refactor build process with rollup