Add `prefix` option
enkot opened this issue · comments
It would be very useful to add prefix
option.
What is expected?
//...
iife({
prefix: '_my_'
})
Output file:
var _my_componentA = (function () { //...
It seems reasonable to prefix those names which are generated automatically to avoid conflict. However, I'm not sure if we should also prefix names defined in names
option.
Yes, agree with you. Can you check pull request #4?