We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb95872 + 61e2d68 commit 164c37aCopy full SHA for 164c37a
index.js
@@ -16,7 +16,7 @@ module.exports = function (source) {
16
module.exports.pitch = function (request, prevRequest) {
17
if(this.cacheable) this.cacheable();
18
var callback = this.async();
19
- if (path.extname(request) === '.js') {
+ if (['.js', '.ts'].indexOf(path.extname(request)) >= 0) {
20
produce(this, request, callback);
21
} else {
22
var parts = request.split('!');
0 commit comments