Skip to content

Cannot import the package using ES6 import #8

Description

@mayppong

Because the name of the module being export in index.js isn't the same name as the angular module name used in the source files, it's not possible to import ngTimerpicker through the index.js file

import ngTimepicker from `ngTimepicker`;
angular.module('some_project', [ngTimepicker]);

The code above won't work unless index.js file is exporting the name jkuri.timepicker.

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