I've been converting a Webpack 1 application to version 2, mostly for the benefits of AOT compilation and tree-shaking. At present, the code compiles - but when I test it, the application crashes out because the Map class and its constructor can't be found. Since many modules make use of x = new Map() constructs, this is cramping my style.
Can anyone suggest why such a basic class wouldn't be included in the AOT build, please?