fix(ios): prevent tree shaking by including dummy function
Signed-off-by: Amogh Lele <amolele@gmail.com>
This commit is contained in:
1 parent
7c948b4f5f
commit
bd99114d6c
9 files changed
+264
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
public func dummyMethodToEnforceBundling() {
|
||||
enforce_binding() // disable tree shaking
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
void enforce_binding();
|
||||
@@ -1,3 +1,3 @@
|
||||
// Relative import to be able to reuse the C sources.
|
||||
// See the comment in ../{projectName}}.podspec for more information.
|
||||
#include "../../src/readability.c"
|
||||
// #include "../../src/readability.c"
|
||||
Reference in new issue
Block a user