Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing logging message to be type string
Before this change, in plugins like this: https://github.com/rollup/rollup-plugin-babel/blob/master/src/index.js#L39 will just get `undefined` in the output. I haven't have the time to to look very in depth at all the code, but I found a couple of places (both in rollup itself and in external plugins) where the caller is passing a string, so since fixing all the plugins is probably a non-starter, I figure making the API support strings was the easiest. You might want to change the param name of the function or do a more strict check for strings.
- Loading branch information