Skip to content

Building with Angular CLI

jmacura edited this page Jul 28, 2021 · 2 revisions

HSLayes-NG versions 1 and 2 used Webpack to create distributable bundles. HSLayers-NG version 3 and above uses Angular CLI. If you still use HSLayers-NG version 2 or lower, refer to Building with webpack.

For building with Angular CLI, you have to specify an angular.json file and a tsconfig.json file. Refer to some example files how to set them up.

If your dependencies are set up correctly to satisfy the hslayers-ng's peerDependencies, then you can simply run:

ng build

Clone this wiki locally