Issue with build --prod

#1

Hey there

I’m relying on a Angular Material component so i have included Angular Material in my Ionic 2 project.
Everything is working as expected if i’m building in development mode (via ionic serve). But if i build the project via ‘ionic build browser --prod’ i get the following error in the javascript console of my browser:

Uncaught Error: Module parse failed: /<path_to_my_project>/node_modules/@angular/material/dialog/dialog.css Unexpected token (1:19)
You may need an appropriate loader to handle this file type.

I’m currently using the following dependencies:

"dependencies": {
  "@angular/common": "2.2.1",
  "@angular/compiler": "2.2.1",
  "@angular/compiler-cli": "2.2.1",
  "@angular/core": "2.2.1",
  "@angular/forms": "2.2.1",
  "@angular/http": "2.2.1",
  "@angular/material": "^2.0.0-beta.1",
  "@angular/platform-browser": "2.2.1",
  "@angular/platform-browser-dynamic": "2.2.1",
  "@angular/platform-server": "2.2.1",
  "@ionic/storage": "1.1.7",
  "angular2-fullcalendar": "^1.1.1",
  "angular2-uuid": "^1.1.1",
  "ionic-angular": "2.0.0",
  "ionic-native": "2.4.1",
  "ionicons": "3.0.0",
  "ng2-translate": "^5.0.0",
  "rxjs": "5.0.0-beta.12",
  "sw-toolbox": "3.4.0",
  "zone.js": "0.6.26"
},
"devDependencies": {
  "@ionic/app-scripts": "1.0.0",
  "typescript": "2.0.9"
}

Ionic Version: 2.2.1

It seems like that there is something messed up with the handling of component stylesheets (dialog.css is used by an angular material component) during the production build.
Is there any way to get around this issue?