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

[Question]: How can I turn off the CDN as the source for the standalone.js file and load it from an npm package instead? #166

Open
olishevskii opened this issue Oct 29, 2024 · 1 comment

Comments

@olishevskii
Copy link

olishevskii commented Oct 29, 2024

I like this solution (#95), but I want to load the file from an npm package instead of from a CDN. How can I do that? Is it possible?

@olishevskii olishevskii changed the title How can I turn off the CDN as the source for the [email protected]/dist/browser/standalone.js file and load it from an npm package instead? How can I turn off the CDN as the source for the standalone.js file and load it from an npm package instead? Oct 29, 2024
@olishevskii olishevskii changed the title How can I turn off the CDN as the source for the standalone.js file and load it from an npm package instead? [Question]: How can I turn off the CDN as the source for the standalone.js file and load it from an npm package instead? Oct 31, 2024
@mtt-artis
Copy link

Hey 👋

Try to add a route that returns the file from the node_modules, and reference that path to the scalarCDN option ?

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

No branches or pull requests

2 participants