dropdown.ngfactory missing / AOT bug

Bug description:

I’ve tried to create an AOT build using angular-cli and ng-bootstrap. However, there appears to be an issue during AOT compilation generating an ngfactory for the dropdown component (see below).

Is anyone else able to AOT build with ng-bootstrap?

> ng build --target=${TARGET:-development} --environment=${ENVIRONMENT:-dev} --aot=${AOT:-false}

Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
 13%% building modules 28/113 modules 85 active ...rap/ng-bootstrap/dropdown/dropdown.jsresolve '../node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory' in '/Users/jr/dev/console/console/src/app'
  using description file: /Users/jr/dev/console/console/package.json (relative path: ./src/app)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /Users/jr/dev/console/console/package.json (relative path: ./src/app)
    using description file: /Users/jr/dev/console/console/package.json (relative path: ./src/node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory)
      as directory
        /Users/jr/dev/console/console/src/node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory doesn't exist
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /Users/jr/dev/console/console/src/node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory doesn't exist
      .ts
        Field 'browser' doesn't contain a valid alias configuration
        /Users/jr/dev/console/console/src/node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory.ts doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /Users/jr/dev/console/console/src/node_modules/@ng-bootstrap/ng-bootstrap/dropdown/dropdown.ngfactory.js doesn't exist

/Users/jr/dev/console/console/node_modules/webpack/lib/Compiler.js:220
                    if(err) return callback(err);
                    ^
TypeError: Cannot read property 'hash' of undefined
    at /Users/jr/dev/console/console/node_modules/angular-cli/tasks/build-webpack.js:35:26

Link to minimally-working plunker that reproduces the issue:

Not applicable

Version of Angular, ng-bootstrap, and Bootstrap:

Angular: 2.1

ng-bootstrap: 1.0.0-alpha.9

Bootstrap: 4.0.0-alpha.5

angular-cli: 1.0.0-beta.18

1 possible answer(s) on “dropdown.ngfactory missing / AOT bug