Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimise glob imports #29

Merged
merged 1 commit into from
Jun 18, 2024
Merged

optimise glob imports #29

merged 1 commit into from
Jun 18, 2024

Conversation

Rich-Harris
Copy link
Member

before:

const _01Overview = "data:text/markdown;base64,LS0tCnRpdGxlOiBPdmVydmlldwotLS0KCi0gU2hvcnQgaW50cm8gdG8gd2hhdCBTdmVsdGUgaXMgYW5kIHdoeSBpdCdzIHRoZSBiZXN0IGV2ZXIKLSBBIGZldyBjb2RlIGV4YW1wbGVzIHRvIGhhdmUgYSB2ZXJ5IHJvdWdoIHVuZGVyc3RhbmRpbmcgb2YgaG93IFN2ZWx0ZSBjb2RlIGxvb2tzIGxpa2UKLSBKdW1wIG9mZiBwb2ludHMgdG8gdHV0b3JpYWwsIFN2ZWx0ZUtpdCBldGMKCiMjIE9uZQoKVE9ETwoKIyMgVHdvCgpUT0RPCg==";
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: _01Overview
}, Symbol.toStringTag, { value: "Module" }));

(repeated several hundred times)

after:

const __vite_glob_0_0 = "data:text/markdown;base64,LS0tCnRpdGxlOiBPdmVydmlldwotLS0KCi0gU2hvcnQgaW50cm8gdG8gd2hhdCBTdmVsdGUgaXMgYW5kIHdoeSBpdCdzIHRoZSBiZXN0IGV2ZXIKLSBBIGZldyBjb2RlIGV4YW1wbGVzIHRvIGhhdmUgYSB2ZXJ5IHJvdWdoIHVuZGVyc3RhbmRpbmcgb2YgaG93IFN2ZWx0ZSBjb2RlIGxvb2tzIGxpa2UKLSBKdW1wIG9mZiBwb2ludHMgdG8gdHV0b3JpYWwsIFN2ZWx0ZUtpdCBldGMKCiMjIE9uZQoKVE9ETwoKIyMgVHdvCgpUT0RPCg==";

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 7:22pm

@Rich-Harris Rich-Harris merged commit ea5da37 into main Jun 18, 2024
2 of 3 checks passed
@Rich-Harris Rich-Harris deleted the glob-import-default branch June 18, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant