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

Voila looks in the wrong location for an extension via CDN #1128

Closed
timkpaine opened this issue Mar 27, 2022 · 4 comments
Closed

Voila looks in the wrong location for an extension via CDN #1128

timkpaine opened this issue Mar 27, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@timkpaine
Copy link
Member

Description

Packages pushed to CDN may define widget/extension entrypoints other than index.js.

xref: finos/perspective#1773
voila extension loader:

return `${cdn}${packageName}@${moduleVersion}/dist/${fileName}`;

Expectation

We should inspect the main attribute of the package.json if possible to identify the entrypoint.

Context

voila version: all to date

@timkpaine
Copy link
Member Author

No dist/index.js: #882

@timkpaine
Copy link
Member Author

#894

@timkpaine
Copy link
Member Author

#892

@trungleduc
Copy link
Member

Loading extensions from CDN is removed in 0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants