From a96d420e63ae6594d0151a01ed82e270eeda9942 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Fri, 22 Feb 2019 07:41:36 -0500 Subject: [PATCH] repl: only display writable exports in props editor --- site/static/workers/compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/static/workers/compiler.js b/site/static/workers/compiler.js index 9c79eebe44..0583186dc7 100644 --- a/site/static/workers/compiler.js +++ b/site/static/workers/compiler.js @@ -37,7 +37,7 @@ function compile({ source, options, entry }) { ); const props = entry - ? (vars || stats.vars).map(v => v.export_name).filter(Boolean) // TODO remove stats post-launch + ? (vars || stats.vars).map(v => v.writable && v.export_name).filter(Boolean) // TODO remove stats post-launch : null; return { js: js.code, css: css.code, props };