Skip to content

Commit 779e888

Browse files
committed
add renderMode option to broccoli generated fastboot-config
1 parent 37ff337 commit 779e888

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/ember-cli-fastboot/lib/broccoli/fastboot-config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ module.exports = class FastBootConfig extends Plugin {
3232
this.fastbootConfig[appConfigModule] = options.appConfig;
3333
this._fileToChecksumMap = {};
3434

35+
if (options.appConfig.fastboot) {
36+
this.renderMode = options.appConfig.fastboot.renderMode;
37+
}
38+
3539
if (this.fastbootAppConfig && this.fastbootAppConfig.htmlFile) {
3640
this.htmlFile = this.fastbootAppConfig.htmlFile;
3741
} else {
@@ -174,6 +178,7 @@ module.exports = class FastBootConfig extends Plugin {
174178
schemaVersion: LATEST_SCHEMA_VERSION,
175179
manifest: this.manifest,
176180
hostWhitelist: this.normalizeHostWhitelist(),
181+
renderMode: this.renderMode,
177182
config: this.fastbootConfig,
178183
appName: this.appName,
179184
}

0 commit comments

Comments
 (0)