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

[Vite] restrict which folders are served #12362

Closed
Artur- opened this issue Nov 15, 2021 · 2 comments · Fixed by #12390
Closed

[Vite] restrict which folders are served #12362

Artur- opened this issue Nov 15, 2021 · 2 comments · Fixed by #12390

Comments

@Artur-
Copy link
Member

Artur- commented Nov 15, 2021

Description of the bug / feature

By default, Vite publishes the whole folder where it is run. This works fine for a frontend only project but you would not want to publish all your Maven/Gradle projects on the local network.

The following folders should be ok to publish

  • frontend
  • node_modules
  • target/flow-frontend
  • target/frontend
@Artur- Artur- added this to To do in Frontend build optimization via automation Nov 15, 2021
@Artur- Artur- added the vite Tickets related to vite support label Nov 15, 2021
@Artur- Artur- self-assigned this Nov 16, 2021
@Artur- Artur- changed the title [Vite] restrict which folders are available as @fs URLs [Vite] restrict which folders are served Nov 16, 2021
@Artur-
Copy link
Member Author

Artur- commented Nov 16, 2021

Requires #12367

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with platform 22.0.0.rc1 and is also targeting the upcoming stable 22.0.0 version.

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

Successfully merging a pull request may close this issue.

2 participants