Browserify transform for swig templates with inheritance support.