From e5a5eaeef02cf241f7eec68a7814629e2bd78b2b Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Mon, 29 Mar 2021 19:39:39 -0700 Subject: [PATCH 1/2] fix: revert breaking change for `compiler/preprocess` types location (#6100) --- src/compiler/preprocess/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/preprocess/index.ts b/src/compiler/preprocess/index.ts index 93b48996c1..16bcdf1687 100644 --- a/src/compiler/preprocess/index.ts +++ b/src/compiler/preprocess/index.ts @@ -5,6 +5,8 @@ import { decode_map } from './decode_sourcemap'; import { replace_in_code, slice_source } from './replace_in_code'; import { MarkupPreprocessor, Source, Preprocessor, PreprocessorGroup, Processed } from './types'; +export * from './types'; + interface SourceUpdate { string?: string; map?: DecodedSourceMap; From 32f58b9d41762d0bcc10916fe8b6b9e2aba4d0f3 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 29 Mar 2021 22:41:40 -0400 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37c8414dff..a13b1377ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Export `Spring`, `Tweened` and `EasingFunction` interfaces ([#6070](https://github.com/sveltejs/svelte/issues/6070), [#6056](https://github.com/sveltejs/svelte/pull/6056)) * Export interfaces for transition parameters ([#5207](https://github.com/sveltejs/svelte/issues/5207)) * Export store's useful TypeScript definitions ([#5864](https://github.com/sveltejs/svelte/issues/5864)) +* Fix previous breaking change to `svelte/preprocess` types location ([#6100](https://github.com/sveltejs/svelte/pull/6100)) ## 3.35.0