Replies: 1 comment 1 reply
-
|
It provides a consistent way to import the loader and discovery function from the root file. Many bundles will treeshake it out. The extra bytes seem negligible. 🤷🏻♂️ |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Referring to this line...
webawesome/packages/webawesome/src/webawesome.ts
Line 7 in 437e0d9
Could the mutation observer, startLoader, and stopLoader functions be isolated to a separate file and only exported from the loader entry point to save a few bytes?
Beta Was this translation helpful? Give feedback.
All reactions