From ef3f75ad7d7721337804dab09d15081ca9465c90 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Tue, 19 Feb 2019 08:14:08 -0500 Subject: [PATCH] oops --- site/static/workers/compiler.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site/static/workers/compiler.js b/site/static/workers/compiler.js index fd185db843..9c79eebe44 100644 --- a/site/static/workers/compiler.js +++ b/site/static/workers/compiler.js @@ -36,10 +36,8 @@ function compile({ source, options, entry }) { Object.assign({}, commonCompilerOptions, options) ); - vars = vars || stats.vars; // TODO remove this post-launch - const props = entry - ? vars.map(v => v.export_name).filter(Boolean) + ? (vars || stats.vars).map(v => v.export_name).filter(Boolean) // TODO remove stats post-launch : null; return { js: js.code, css: css.code, props };