2
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-02-26 04:03:02 +08:00
awesome-cordova-plugins/scripts/build/remove-tslib-helpers.js
2021-09-27 22:09:05 +02:00

3 lines
194 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, '');