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

3 lines
194 B
JavaScript
Raw Permalink Normal View History

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