Skip to content

Commit

Permalink
features are optional (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
agubler authored May 13, 2021
1 parent 754b594 commit 527c076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build-time-render/BuildTimeRenderMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import webpack = require('webpack');

export interface OnDemandBuildTimeRenderOptions {
buildTimeRenderOptions: any;
features: Record<string, boolean>;
features?: Record<string, boolean>;
scope: string;
base: string;
compiler: webpack.Compiler;
Expand All @@ -23,7 +23,7 @@ export class OnDemandBuildTimeRender {
private _base: string;
private _active = false;
private _entries: string[];
private _features: Record<string, boolean>;
private _features?: Record<string, boolean>;

constructor(options: OnDemandBuildTimeRenderOptions) {
this._btrArgs = options.buildTimeRenderOptions;
Expand Down

0 comments on commit 527c076

Please sign in to comment.