Angular cli webpack prod build error in combination with OpenLayers #12760
Labels
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
macOS - Sierra
node - v8.11.2
npm - 6.3.0
ol - 5.2.0
Angular CLI: 7.0.3
Node: 8.11.2
OS: darwin x64
Angular: 7.0.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... http, language-service, material, platform-browser
... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.10.3
@angular-devkit/build-angular 0.10.3
@angular-devkit/build-optimizer 0.10.3
@angular-devkit/build-webpack 0.10.3
@angular-devkit/core 7.0.3
@angular-devkit/schematics 7.0.3
@angular/cli 7.0.3
@angular/flex-layout 7.0.0-beta.19
@ngtools/.DS_Store
@ngtools/webpack 7.0.3
@schematics/.DS_Store
@schematics/angular 7.0.3
@schematics/update 0.10.3
rxjs 6.3.3
typescript 3.1.3
webpack 4.19.1
Repro steps
The bug occurs when build a prod build including open layers library and "buildOptimizer": set to true in angular.json.
There is already an open ticket in the open layers area which describes the issue: openlayers/openlayers#8815
But I don't know right if it's there the right place or better here?
The log given by the failure
Stack trace see here too: openlayers/openlayers#8815
Desired functionality
Use case is using of open layers map with Angular 7.0.x :) in production mode
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: