``` javascript
function MyParser(str, filename, options) {
  jade.Parser.call(this, str, filename, options);
}
MyParser.prototype = Object.create(jade.Parser);
MyParser.prototype.parseInclude = function() {
```

Later you can parse it as option to the `jade.compile` call:

``` javascript
  parse: query.webpackInclude ? MyParser : jade.Parser,
```