Skip to content

🐛 fix configure_server_component import#461

Merged
hayleigh-dot-dev merged 1 commit into
lustre-labs:mainfrom
xvello:fix-import
Apr 3, 2026
Merged

🐛 fix configure_server_component import#461
hayleigh-dot-dev merged 1 commit into
lustre-labs:mainfrom
xvello:fix-import

Conversation

@xvello
Copy link
Copy Markdown
Contributor

@xvello xvello commented Apr 3, 2026

Building a lustre-based application with vite yields the following warning:

[IMPORT_IS_UNDEFINED] Warning: Import `to_server_component_config` will always be undefined because there is no matching export in 'build/dev/javascript/lustre/lustre/component.mjs'
     ╭─[ build/dev/javascript/lustre/lustre/runtime/server/runtime.ffi.mjs:256:18 ]
     │
 256 │   const config = Component.to_server_component_config(app.config);

This PR fixes the outdated import to point to the new function. Build runs without a warning now.

@hayleigh-dot-dev
Copy link
Copy Markdown
Collaborator

Ah yeah wicked, thank you!

@hayleigh-dot-dev hayleigh-dot-dev merged commit eb142d6 into lustre-labs:main Apr 3, 2026
1 check passed
@xvello xvello deleted the fix-import branch April 4, 2026 10:11
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.

2 participants