strictdi error on version 5.1.3
Andrew-Lahikainen opened this issue · 1 comments
Andrew-Lahikainen commented
I'm getting the following error:

It seems the package.json main property is pointing to a file that requires all the components of this package. Shouldn't this point to a transpiled version of your library? Otherwise I need to have babel and the ng-annotate plugin in order to use this.
If I import "angular-datetime-input/dist/datetime" directly I get this error:
Any way to resolve this?
eight04 commented
This repository contains:
- source code
- written with implicit DI notation
- es6
- a pre-built dist, which is transpiled with
- browserify
custom-inputmodule is excluded from the build and shimmed with global variablecustomInput. You'll need to import it manually
- babel (target IE8)
- ng-annotate
- browserify
You can resolve the second error by importing custom-input module manually.
For the first error, we should switch to explicit notation, however you still need to use babel if you want to transform es6 syntax.
