Skip to content

Issue in the dApp when migrating to vite #97

@levalleux-ludo

Description

@levalleux-ludo

With the dApp migrated to vite (bosonprotocol/interface#1144), the chat-sdk doesn't initialize correctly.
It seems that the worker is not launched and the initialization flow is stuck there.
I guess the problem is related to the bundling configuration.
There is an example of a react/vite app on XMTP repo with this issue comment to help configuring vite:
xmtp/xmtp-js#865 (comment)
but this doesn't work (or maybe it fixes a problem, but create another one?).

Migration to vite in the dApp has been reverted until we find a solution, hence this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions