Skip to content

Failed to import "bankdata-germany" #4

Description

@berkantdev

Expected Behavior

Import Functions correctly

Actual Behavior

Failing on Function Import

##Error:
failed to import "bankdata-germany"
SyntaxError: Cannot use import statement outside a module - import * as main from "../cjs/main.js";

Steps to Reproduce the Problem

  1. Import functions
    import { bankDataByBLZ, bankDataByBIC, bankDataByBBAN } from 'bankdata-germany';
    bankDataByBLZ('10010010');

Specifications

  • Version: ^1.2400.0
  • Platform: nodejs + svelte 4.2.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions