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

first class support for bundlers #1301

Open
baseplate-admin opened this issue Jan 13, 2024 · 9 comments
Open

first class support for bundlers #1301

baseplate-admin opened this issue Jan 13, 2024 · 9 comments
Labels

Comments

@baseplate-admin
Copy link

Description

It would be awesome if pywebview provided support for first class bundlers (eg: webpack,vite)

Practicalities

  • YES/NO I am willing to work on this issue myself.
@baseplate-admin baseplate-admin changed the title support for vite first class support for bundlers Jan 13, 2024
@r0x0r
Copy link
Owner

r0x0r commented Jan 13, 2024

How would bundler support look like?

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 13, 2024
@baseplate-admin
Copy link
Author

Hi sorry for late reply.

How would bundler support look like?

Something like tauri, where we use vite to bundle assets.

Why?

  1. This would allow us to the pre-processed js frameworks like solid.js, svelte, vue
  2. Generally working with bundlers are easier compared to manual management.

Outcome:

  1. One single js file that allows users to access the gui.

@r0x0r
Copy link
Owner

r0x0r commented Feb 13, 2024

Tauri has a node application that creates a project scaffold with a configuration file. Is this what you suggest?

@baseplate-admin
Copy link
Author

Correct. We use node.js to make a bundle. Final application wont have any node.js dependency

@github-actions github-actions bot removed the stale label Feb 14, 2024
@r0x0r
Copy link
Owner

r0x0r commented Mar 3, 2024

While it is a noble idea, but the reality is that I do not have resources for launching and maintaining a separate project.

@baseplate-admin
Copy link
Author

While it is a noble idea, but the reality is that I do not have resources for launching and maintaining a separate project.

Fair enough, but could you please keep this issue open? Maybe someone will implement that feature

@r0x0r r0x0r added the future label Mar 3, 2024
@r0x0r
Copy link
Owner

r0x0r commented Mar 3, 2024

Sure

@thecircleisround
Copy link

I've updated the react boilerplate to use vite and vue3 here Vu3 Boilerplate. I have not tested on windows. Should still work with react.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants