ignore swap files
add `protected` option to wrap bundle in function scope, allow multiple input dirs
add `include_version` bool option (default: true)