Skip to content

Add package.json exports for shared in framework7-svelte #4017

@basejump

Description

@basejump

#3991 was resolved for framework7 core but this is still a minor issue for us with framework7-svelte. Can the same exports for "./shared/*": "./shared/*", in core be added to framework7-svelte?

We work around it by adding the following to our vite.config.js in case anyone else is running into it.

  resolve: {
    alias: {
      'framework7-svelte/shared': path.resolve(basedir, `node_modules/framework7-svelte/shared`
      ),
    },
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions