Client: Update ng2-file-upload to the module part
authorChocobozzz <florian.bigard@gmail.com>
Fri, 23 Sep 2016 15:31:41 +0000 (17:31 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 23 Sep 2016 15:31:41 +0000 (17:31 +0200)
client/package.json
client/src/app/app.module.ts

index 629723b542864db48222fdcffd54660b92c32336..16aae6e14ec9d93934abeec349454e9a11fb519b 100644 (file)
@@ -61,7 +61,7 @@
     "reflect-metadata": "0.1.3",
     "resolve-url-loader": "^1.6.0",
     "rxjs": "5.0.0-beta.12",
-    "sass-loader": "^3.2.3",
+    "sass-loader": "^4.0.2",
     "source-map-loader": "^0.1.5",
     "string-replace-loader": "^1.0.3",
     "style-loader": "^0.13.1",
index f9a9ae7603174a7f0b70777a65a277c6993cb94d..980625f13495cd8a612f56d635c1b0334e9d2a7e 100644 (file)
@@ -8,7 +8,7 @@ import { removeNgStyles, createNewHosts } from '@angularclass/hmr';
 import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
 import { ProgressbarModule } from 'ng2-bootstrap/components/progressbar';
 import { PaginationModule } from 'ng2-bootstrap/components/pagination';
-import { FileSelectDirective } from 'ng2-file-upload/ng2-file-upload';
+import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload';
 
 /*
  * Platform and Environment providers/directives/pipes
@@ -84,7 +84,6 @@ const APP_PROVIDERS = [
     AdminComponent,
     AppComponent,
     BytesPipe,
-    FileSelectDirective,
     FriendAddComponent,
     FriendListComponent,
     FriendsComponent,
@@ -113,7 +112,8 @@ const APP_PROVIDERS = [
     RouterModule.forRoot(routes),
 
     ProgressbarModule,
-    PaginationModule
+    PaginationModule,
+    FileUploadModule
   ],
   providers: [ // expose our Services and Providers into Angular's dependency injection
     ENV_PROVIDERS,