awesome-cordova-plugins/scripts/build/remove-tslib-helpers.js
2017-12-28 07:28:44 -05:00

3 lines
192 B
JavaScript

// removes the __extends method that is added automatically by typescript
module.exports = source => source.replace(/var\s__extends\s=\s\(this\s&&[\sa-z\._\(\)\|{}=:\[\]&,;?]+}\)\(\);/i, '');