fix: display framework version on bootstrapped component (#13252)
This commit is contained in:

committed by
Alex Rickabaugh

parent
986abbe0b2
commit
16efb13dd1
@ -11,12 +11,6 @@
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-server package.
|
||||
*/
|
||||
import {Version} from '@angular/core';
|
||||
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
export * from './src/platform-server';
|
||||
|
||||
// This file only reexports content of the `src` folder. Keep it that way.
|
||||
|
@ -8,3 +8,4 @@
|
||||
|
||||
export {ServerModule, platformDynamicServer, platformServer} from './server';
|
||||
export * from './private_export';
|
||||
export {VERSION} from './version';
|
||||
|
19
modules/@angular/platform-server/src/version.ts
Normal file
19
modules/@angular/platform-server/src/version.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the common package.
|
||||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
Reference in New Issue
Block a user