mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 17:00:40 +01:00
oops
This commit is contained in:
parent
7fdf98bb6f
commit
ef3f75ad7d
@ -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 };
|
||||
|
Loading…
Reference in New Issue
Block a user