From de0cfbcb8503b7e06a7266892863beaae412b8b2 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 22 Apr 2022 14:05:10 +0200 Subject: [PATCH] Minor fixes to template --- packages/create/template/rollup.config.js | 6 ++++++ packages/create/template/src/index.ts | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/create/template/rollup.config.js b/packages/create/template/rollup.config.js index 60fbc64..b547d94 100644 --- a/packages/create/template/rollup.config.js +++ b/packages/create/template/rollup.config.js @@ -3,6 +3,12 @@ import sourcemaps from 'rollup-plugin-sourcemaps'; export default { input: 'lib/index.js', plugins: [sourcemaps()], + external: [ + '@preserves/core', + '@syndicate-lang/core', + '@syndicate-lang/html', + '@syndicate-lang/ws-relay', + ], output: { file: 'index.js', format: 'umd', diff --git a/packages/create/template/src/index.ts b/packages/create/template/src/index.ts index 59ce67f..8df7c28 100644 --- a/packages/create/template/src/index.ts +++ b/packages/create/template/src/index.ts @@ -36,7 +36,6 @@ function bootApp(ds: Ref) { at remoteDs { assert ExampleDefinition(this_instance); during ExampleDefinition($who: string) => { - console.log('saw', who); const ui = new html.Anchor(); at ds { assert ui.html(