From 18d56f90352cdc4883ccb6cee0f554ca28c90203 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Fri, 10 Nov 2023 16:10:47 +0100 Subject: [PATCH] debugging ci is sooo fun --- packages/svelte/scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/scripts/build.js b/packages/svelte/scripts/build.js index 6f7072c830..2ce449a256 100644 --- a/packages/svelte/scripts/build.js +++ b/packages/svelte/scripts/build.js @@ -5,7 +5,7 @@ import { createBundle } from 'dts-buddy'; const dir = fileURLToPath(new URL('..', import.meta.url)); const pkg = JSON.parse(fs.readFileSync(`${dir}/package.json`, 'utf-8')); -console.error('the dir is:', dir); +throw new Error('the dir is:' + dir); // For people not using moduleResolution: 'bundler', we need to generate these files. Think about removing this in Svelte 6 or 7 // It may look weird, but the imports MUST be ending with index.js to be properly resolved in all TS modes