Skip to content

Commit 70379d5

Browse files
Fix: Use minified bundle (#371)
* use min bunldle * remove packagemanger * add changelog * rollback yarn.lock * move main locks to branch * Update yarn.lock * use min js also on js-module * Update CHANGELOG.md * Apply suggestions from code review * Update plugin.xml
1 parent b9489ca commit 70379d5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Support for Debug ID ([#374](https://github.com/getsentry/sentry-cordova/pull/374))
88

9+
### Fixes
10+
11+
- Use a minified and optimized bundle to reduce the SDK size by three times, improving performance and reducing load times ([#371](https://github.com/getsentry/sentry-cordova/pull/371))
12+
913
## 1.4.1
1014

1115
### Dependencies

plugin.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<engine name="cordova-ios" version=">=4.4.0" />
2222
</engines>
2323

24-
<js-module src="dist/js/sentry-cordova.bundle.js" name="Sentry">
24+
<js-module src="dist/js/sentry-cordova.bundle.min.js" name="Sentry">
2525
<clobbers target="Sentry" />
2626
</js-module>
27-
<asset src="dist/js/sentry-cordova.bundle.js.map" target="plugins/sentry-cordova/dist/js/sentry-cordova.bundle.js.map" />
28-
27+
<asset src="dist/js/sentry-cordova.bundle.min.js.map" target="plugins/sentry-cordova/dist/js/sentry-cordova.bundle.min.js.map" />
2928
<!-- android -->
3029
<platform name="android">
3130
<config-file target="res/xml/config.xml" parent="/*">

0 commit comments

Comments
 (0)