Skip to content

'ismobilejs' import is an empty object #94

Closed
@b12k

Description

Hello,
After upgrading ismobilejs version from v0.5.2, which is present on NPM but not in github releases btw, to v1.0.1 the result of webpacks import function is {}.
Executed in mounted hook of js framework, used in browser, built with webpack.

  const { default: isMobile } = await import('ismobilejs');
  console.log(isMobile); //> {}

Thank you in advance!

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions