Open AlexFreem opened 7 years ago
Its a duplicate issue from https://github.com/koleary94/Angular-2-Datepicker/issues/68 this is because of compilation problem in this package and is resolved in PR https://github.com/koleary94/Angular-2-Datepicker/pull/52
I have tried to include this directive in my project, but i got an next error in console:
@ ./~/angular2-material-datepicker/index.ts 1:0-40 `
I build my project with webpack and here is my part of webpack.config.js of TypeScript files loader:
module: { rules: [ { test: /\.ts$/, exclude: /node_modules/, use: ['ts-loader'] }] }
If i exclude Datepicker from dependecies and imports - project works correctly.