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)