Open NathofGod opened 7 years ago
Now understood to be that the library ships only TS file.
Hey @NathofGod . Did you clone the repo, or install it through npm? When I publish it through npm, I incude the .js
, js.map
, and .ts
files files together. Not sure why that would cause issues. However, if you cloned the repo locally you're going to have run tsc
within the directory to get the .js
files. Let me know if that is not the issue
Hey @koleary94 that's strange. I installed through npm and I got the following. Basically looks like just the source files.
@NathofGod Are you pinned to a specific version? Very possible I messed up the npm deploy in earlier versions 😬 . I just installed without pinning to a version and I was able to see all of the js
files. If not maybe your editor is hiding those files?
@NathofGod lmk if you still need any help
I'm having issues compiling with my Browserify module. I haven't yet investigated module changes however this is the error.
..../angular2-material-datepicker/index.ts:1 export * from './src/datepicker.module'; ^ ParseError: 'import' and 'export' may appear only with 'sourceType: module'