@kv-systems/ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
13 lines (11 loc) • 314 B
JavaScript
const ngPackage = require('../../../dist/public_api');
const path = require('path');
ngPackage
.ngPackagr()
.forProject(path.join(__dirname, 'ng-package-config.js'))
.withTsConfig(path.join(__dirname, 'tsconfig.ngc.json'))
.build()
.catch(error => {
console.error(error);
process.exit(1);
});