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

3 lines
194 B
JavaScript
Raw Permalink Normal View History

2017-12-28 07:28:44 -05:00
// removes the __extends method that is added automatically by typescript
2021-09-27 22:09:05 +02:00
module.exports = (source) => source.replace(/var\s__extends\s=\s\(this\s&&[\sa-z\._\(\)\|{}=:\[\]&,;?]+}\)\(\);/i, '');