-
Notifications
You must be signed in to change notification settings - Fork 10
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
[esbuild-renderer] static files #13
Comments
Also css. |
This will come in next releases |
I have been trying to use WebWorker but it seems this feature needs to be supported internally first. |
I haven't found the time to work on this issue. Helps are welcome! |
I'm still ramping up to esbuild, but could esbuild external option be used? Or potentially the same way preload.js is done in the main-ts template, making the js a separate entry point and then referencing it by path? |
You could add support for an optional path-option for static files in the yaml renderer-config or reuse output.dir and then use one of them in esbuild.builder as servedir property in ctx.serve() (line 106)
|
Need to be able to import js files in html - cannot do that because source is a bundle - a single js file. One should be able to import static js files - perhaps a static directory would be useful and served by the proxy. Or have a way to create multiple bundles.
The text was updated successfully, but these errors were encountered: