diff --git a/packages/builder/rollup.config.js b/packages/builder/rollup.config.js index 5a607720d8..9986e39fd5 100644 --- a/packages/builder/rollup.config.js +++ b/packages/builder/rollup.config.js @@ -103,6 +103,11 @@ const lodash_fp_exports = [ "toNumber", "takeRight", "toPairs", + "remove", + "findIndex", + "compose", + "get", + "tap", ] const lodash_exports = [ @@ -159,13 +164,15 @@ export default { }), replace({ - "process.env.NODE_ENV": JSON.stringify(production ? "production" : "development") + "process.env.NODE_ENV": JSON.stringify( + production ? "production" : "development" + ), }), svelte({ // enable run-time checks when not in production dev: !production, - include: "src/**/*.svelte", + include: ["src/**/*.svelte", "node_modules/**/*.svelte"], // we'll extract any component CSS out into // a separate file — better for performance css: css => { diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index 81e74e8543..69bddc225c 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -29,16 +29,16 @@ {/await} + {#if $store.useAnalytics} +