Replies: 2 comments 2 replies
|
Thanks, @hm21, |
0 replies
|
@hm21 Thank you for letting me know about the incoming feature. I will update pdfrx to use the feature as soon as it is released on the stable channel. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey @espresso3389
First off, thank you for creating such an awesome package, it's truly a gem!
The reason I’m reaching out here is about manually removing assets, which we currently handle using
dart run pdfrx:remove_wasm_modules. Honestly, that’s a clever solution, since it’s the only way to avoid bundling everything into the package. I’ve faced the same issue in my own Flutter packages, where all assets are included on every platform, even when they’re unnecessary.That said, a few weeks ago I created that PR for Flutter that introduces the ability to define which platforms assets should be included on. That PR has just been merged. Since I’m not sure whether it’ll be highlighted in the next stable release, I wanted to mention it here so you’re already aware this feature is coming soon (I guess it won’t be included in 3.38 yet, but it should definitely arrive with 3.41).
The example code for that will look like that:
All reactions