Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit 5d7f6da

Browse files
committed
fix: partial revert to wait for app stability if buffering
* Partial revert of #60 due to issues with lazy loading * Add linting rules and refactor files accordingly * Bump deps to Angular v5.2 and TypeScript v2.6
1 parent c6c9805 commit 5d7f6da

30 files changed

+928
-297
lines changed

build-config.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/**
2+
* Build configuration for the packaging tool. This file will be automatically detected and used
3+
* to build the different packages inside of Preboot.
4+
*/
5+
const {join} = require('path');
6+
7+
const package = require('./package.json');
8+
9+
/** Current version of the project*/
10+
const buildVersion = package.version;
11+
12+
/**
13+
* Required Angular version for all Preboot packages. This version will be used
14+
* as the peer dependency version for Angular in all release packages.
15+
*/
16+
const angularVersion = '^5.0.0';
17+
18+
/** License that will be placed inside of all created bundles. */
19+
const buildLicense = `/**
20+
* @license
21+
* Copyright Google LLC All Rights Reserved.
22+
*
23+
* Use of this source code is governed by an MIT-style license that can be
24+
* found in the LICENSE file at https://angular.io/license
25+
*/`;
26+
27+
module.exports = {
28+
projectVersion: buildVersion,
29+
angularVersion: angularVersion,
30+
projectDir: __dirname,
31+
packagesDir: join(__dirname, 'src'),
32+
outputDir: join(__dirname, 'dist'),
33+
licenseBanner: buildLicense
34+
};

0 commit comments

Comments
 (0)