A simple Rollup plugin to copy files to the build directory
November 9th 2020A friend asked me today what is a simple way to copy files from a directory (in his case, extract some images from a node module) to the build directory, using Rollup.
My solution is to create a simple plugin like this: