title: Changes made in files under node_modules
body: <p>I have changed some files present in node_modules folder. But when I build the application using <code>ng build -op="app" --base -href="dist" --aot</code> and when I deploy it to server I see the changes that I made in node_modules were not there. How to overcome this?</p>
  
  <p>I have tried in the below 3 ways</p>
  
  <ol>
  <li><p>I have forked the <code>ngx-bootstrap</code> repository into <a href="https://github.com/krishnag9/ngx-bootstrap" rel="nofollow noreferrer">GIT</a>
  Then I have used <code>npm install https://github.com/krishnag9/ngx-bootstrap/tarball/master</code> in my project. I have changed <code>import { BsDaterangepickerDirective } from 'ngx-bootstrap/datepicker'</code> to <code>import { BsDaterangepickerDirective } from 'ngx-bootstrap-base/src/datepicker'</code>
  I'm facing the below exception now</p>
  
  <p><code>ERROR in ./node_modules/ngx-bootstrap-base/src/index.ts
  Module build failed: Error: NPMLINK_TEST/node_modules/ngx-bootstrap-base/src/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
  The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format
  at AngularCompilerPlugin.getCompiledFile (NPMLINK_TEST/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:656:23)
  at plugin.done.then (NPMLINK_TEST/node_modules/@ngtools/webpack/src/loader.js:467:39)
  at &lt;anonymous&gt;
  at process._tickCallback (internal/process/next_tick.js:182:7)
  @ ./src/app/app.module.ts 49:12-45 54:12-45
  @ ./src/main.ts
  @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
  ERROR in ./node_modules/ngx-bootstrap-base/src/modal/index.ts
  Module build failed: Error: NPMLINK_TEST/node_modules/ngx-bootstrap-base/src/modal/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
  The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format
  at AngularCompilerPlugin.getCompiledFile (NPMLINK_TEST/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:656:23)
  at plugin.done.then (NPMLINK_TEST/node_modules/@ngtools/webpack/src/loader.js:467:39)
  at &lt;anonymous&gt;
  at process._tickCallback (internal/process/next_tick.js:182:7)
  @ ./src/app/canceltickets/canceltickets.component.ts 21:14-53 22:14-53
  @ ./src/app/app.module.ts
  @ ./src/main.ts
  @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts</code></p></li>
  <li><p>Also I have tried <code>npm install https://github.com/krishnag9/ngx-bootstrap --save-dev</code> ended up with below error</p>
  
  <p><code>ERROR in node_modules/ngx-bootstrap-base/src/mini-ngrx/state.class.ts(5,39): error TS2305: Module '"NPMLINK_TEST/node_modules/rxjs/Rx"' has no exported member 'queueScheduler'.
  node_modules/ngx-bootstrap-base/src/tooltip/tooltip.directive.ts(20,10): error TS2305: Module '"NPMLINK_TEST/node_modules/rxjs/Rx"' has no exported member 'timer'.
  node_modules/ngx-bootstrap-base/src/typeahead/typeahead.directive.ts(18,10): error TS2305: Module '"NPMLINK_TEST/node_modules/rxjs/Rx"' has no exported member 'from'.</code></p></li>
  <li><p>Using <code>npm link</code>
  I have cloned the git repository outside of my node_modules
  Next <code>cd ngx-bootstrap</code>
  I have executed the command <code>npm link</code>
  Redirected to <code>node_modules</code> folder
  Here I did <code>npm link ngx-bootstrap</code>
  No errors in my console, But the code I have changed is not reflected there and also facing an exception in browser console</p>
  
  <p><code>BsDatepickerContainerComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: Cannot read property 'schedule' of undefined
  at ObserveOnSubscriber.scheduleMessage (observeOn.js:99)
  at ObserveOnSubscriber._error (observeOn.js:105)
  at ObserveOnSubscriber.Subscriber.error (Subscriber.js:105)
  at BehaviorSubject.Observable._trySubscribe (Observable.js:177)
  at BehaviorSubject.Subject._trySubscribe (Subject.js:97)
  at BehaviorSubject.Observable.subscribe (Observable.js:160)
  at ObserveOnOperator.call (observeOn.js:74)
  at AnonymousSubject.Observable.subscribe (Observable.js:157)
  at ScanOperator.call (scan.js:72)
  at AnonymousSubject.Observable.subscribe (Observable.js:157)</code></p></li>
  </ol>