Skip to content

experimenting with vite runtime for loading entrypoint config - #585

Closed
aklinker1 wants to merge 3 commits into
mainfrom
vite-entrypoint-loader
Closed

aklinker1 wants to merge 3 commits into
mainfrom
vite-entrypoint-loader

Conversation

@aklinker1

@aklinker1 aklinker1 commented Apr 1, 2024 •

Copy link
Copy Markdown
Member

Potential fix to #506

  • Load entrypoints with Vite Runtime API
  • use magicast to remove main function from entrypoints to speed up imports
    • And maybe remove unused imports? Not sure the best way to handle side-effects... No, let vite handle tree-shaking? That's beyond the scope of my knowledge lol.

@netlify

netlify Bot commented Apr 1, 2024 •

Copy link
Copy Markdown

❌ Deploy Preview for creative-fairy-df92c4 failed.

Name Link
🔨 Latest commit 55b9d92
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/6635b64d5c8e810008d567ea

@aklinker1
aklinker1 force-pushed the vite-entrypoint-loader branch from 3b04838 to 6d1e939 Compare May 3, 2024 22:40
@aklinker1 aklinker1 mentioned this pull request May 4, 2024
5 tasks done
@aklinker1

aklinker1 commented May 4, 2024 •

Copy link
Copy Markdown
Member Author

Will reference this PR in the actual PR, #648

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