I am making an Angular2 application and I am using bootstrap for styling. I am using webpack as module bundler. I have included bootstrap library and my global custom style-sheet from vendor.ts. Here is my vendor.ts:
// Angular
import '@angular/platform-browser';
import '@angular/platform-browser-dynamic';
import '@angular/core';
import '@angular/common';
import '@angular/http';
import '@angular/router';
// RxJS
import 'rxjs';
// Other vendors for example jQuery, Lodash or Bootstrap
import 'jquery';
import 'bootstrap-loader';
import 'font-awesome-sass-loader';
// You can import js, ts, css, sass, ...
import '../public/css/styles.css';
Normally you would have to link your custom css after the bootstrap's css in an HTML file (eg.)
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="custom.css">
to override the bootstrap's style with your own style. How do I do it with webpack? Thanks.