From 9c36a2bcb3d3154ab9211674056cfc48c34f4742 Mon Sep 17 00:00:00 2001 From: Benny Powers Date: Tue, 5 Feb 2019 19:15:47 +0200 Subject: [PATCH] Update to Rollup v1 API Closes #4 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2732033..85146f4 100644 --- a/src/index.js +++ b/src/index.js @@ -35,7 +35,7 @@ const copyFiles = params => { export default function(options) { return { name, - onwrite: () => { + generateBundle() { if (Array.isArray(options)) { options.forEach(option => { copyFiles(option)