awesome-cordova-plugins/scripts/build/remove-tslib-helpers.js

3 lines
192 B
JavaScript
Raw Normal View History

2017-12-28 20:28:44 +08:00
// 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, '');