Skip to content

[Vite] restrict which folders are served #12362

Closed

Description

@Artur-

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

Activity

  1. added
    viteTickets related to vite support
    on Nov 15, 2021
  2. self-assigned this
    on Nov 16, 2021
  3. changed the title [-][Vite] restrict which folders are available as `@fs` URLs[/-] [+][Vite] restrict which folders are served[/+] on Nov 16, 2021
  4. Artur- commented on Nov 16, 2021

    @Artur-
    MemberAuthor

    Requires #12367

  5. added 4 commits that reference this issue on Nov 18, 2021
    d73aab7
    982813a
    d5e54fc
    519fdb6
  6. added a commit that references this issue on Nov 19, 2021
    a1f5b00
  7. vaadin-bot commented on Nov 24, 2021

    @vaadin-bot
    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions