angular-server-side-configuration
Advanced tools
Comparing version
@@ -136,3 +136,3 @@ 'use strict'; | ||
this._ngsscEnvironmentFile = path.join(_context.workspaceRoot, _options.ngsscEnvironmentFile); | ||
this._tmpNgsscEnvironmentFile = `${_options.ngsscEnvironmentFile}_${crypto.randomBytes(10).toString('hex')}.tmp`; | ||
this._tmpNgsscEnvironmentFile = `${_options.ngsscEnvironmentFile}_${crypto.randomBytes(10).toString('hex')}.tmp.ts`; | ||
this._context.addTeardown(() => this._removeTmpNgsscEnvironmentFile()); | ||
@@ -155,3 +155,5 @@ } | ||
const browserOptions = await this._context.validateOptions(rawOptions, browserName); | ||
const scheduledTarget = await this._context.scheduleTarget(browserTarget, browserOptions); | ||
const scheduledTarget = this._options.aotSupport | ||
? await this._context.scheduleTarget(browserTarget, browserOptions) | ||
: await this._context.scheduleTarget(browserTarget); | ||
const result = await scheduledTarget.result; | ||
@@ -158,0 +160,0 @@ await this._buildNgsscJson(ngsscContext, browserOptions); |
@@ -5,2 +5,9 @@ # Changelog | ||
### [11.0.2](https://github.com/kyubisation/angular-server-side-configuration/compare/v11.0.1...v11.0.2) (2020-12-03) | ||
### Bug Fixes | ||
* don't use deprecated default options for non aotSupport builds ([e0b431e](https://github.com/kyubisation/angular-server-side-configuration/commit/e0b431ec36ada22fd6f103855850c7c029b21fc1)) | ||
### [11.0.1](https://github.com/kyubisation/angular-server-side-configuration/compare/v11.0.0...v11.0.1) (2020-11-16) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "angular-server-side-configuration", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"description": "Configure an angular application on the server", | ||
@@ -5,0 +5,0 @@ "builders": "./builders/builders.json", |
@@ -187,3 +187,3 @@ # angular-server-side-configuration | ||
FROM nginx:alpine | ||
ADD https://github.com/kyubisation/angular-server-side-configuration/releases/download/v11.0.1/ngssc_64bit /usr/sbin/ngssc | ||
ADD https://github.com/kyubisation/angular-server-side-configuration/releases/download/v11.0.2/ngssc_64bit /usr/sbin/ngssc | ||
RUN chmod +x /usr/sbin/ngssc | ||
@@ -190,0 +190,0 @@ COPY dist /usr/share/nginx/html |
@@ -15,3 +15,3 @@ { | ||
"dockerfile": { | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"description": "Updates the download url for ngssc", | ||
@@ -18,0 +18,0 @@ "factory": "./ng-update/index#dockerfile" |
80615
0.54%1302
0.15%