Skip to content

It works in svelte 4 but not in version 5 #294

Closed
@rchavezj

Description

@rchavezj

✘ [ERROR] node_modules/svelte-multiselect/dist/MultiSelect.svelte:521:6 Event attribute must be a JavaScript expression, not a string [plugin vite-plugin-svelte:optimize-svelte]

    node_modules/svelte-multiselect/dist/MultiSelect.svelte:521:6:
      521 │      ondrop="return false"
          ╵       ^

The plugin "vite-plugin-svelte:optimize-svelte" was triggered by this import

    node_modules/svelte-multiselect/dist/index.js:3:48:
      3 │ export { default as MultiSelect, default } from './MultiSelect.svelte';
        ╵                                                 ~~~~~~~~~~~~~~~~~~~~~~

(node:5065) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions