Skip to content

Module Import issue with vite #37

@DK013

Description

@DK013

On the latest f7 Vite is the only bundler available and throws this error while build:

node_modules/vite/dist/node/chunks/dep-36bf480c.js:43807:10: error: [plugin: vite:dep-scan] Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json.

Upon Inspect I came to this stacktrace:
src/js/app.js:4:29: note: The plugin "vite:dep-scan" was triggered by this import 4 │ import Framework7Keypad from 'framework7-plugin-keypad';

I checked the package.json file for the plugin and everything looks ok to me. Any suggestions?

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