Skip to content

Commit 88f713c

Browse files
committed
chore: release 5.1.2
1 parent 4ba875d commit 88f713c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
## [5.1.1](https://github.com/sveltejs/svelte-preprocess/compare/v5.1.0...v5.1.1) (2023-11-21)
2-
1+
## [5.1.2](https://github.com/sveltejs/svelte-preprocess/compare/v5.1.1...v5.1.2) (2023-12-12)
32

4-
### Bug Fixes
3+
- chore: mark postcss-load-config 5 as supported ([3b5b1f0](https://github.com/sveltejs/svelte-preprocess/commit/4ba875d1ab0e076e27509f33ba11c9b2f3b5b1f0))
54

6-
* force module(resolution) ([66d3cf9](https://github.com/sveltejs/svelte-preprocess/commit/66d3cf9a0cbc0eda84b98090bb8d9644b70eea00))
5+
## [5.1.1](https://github.com/sveltejs/svelte-preprocess/compare/v5.1.0...v5.1.1) (2023-11-21)
76

7+
### Bug Fixes
88

9+
- force module(resolution) ([66d3cf9](https://github.com/sveltejs/svelte-preprocess/commit/66d3cf9a0cbc0eda84b98090bb8d9644b70eea00))
910

1011
# [5.1.0](https://github.com/sveltejs/svelte-preprocess/compare/v5.0.3...v5.1.0) (2023-11-10)
1112

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-preprocess",
3-
"version": "5.1.1",
3+
"version": "5.1.2",
44
"license": "MIT",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/transformers/typescript.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ function injectVarsToCode({
150150
}): string {
151151
if (!markup) return content;
152152

153+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
153154
// @ts-ignore different in Svelte 5
154155
const { vars } = compile(stripTags(markup), {
155156
generate: false,
@@ -323,6 +324,7 @@ function getCompilerOptions({
323324
'or replace them in favor of the new "verbatimModuleSyntax" flag.',
324325
);
325326
}
327+
326328
compilerOptions.ignoreDeprecations = '5.0';
327329
}
328330

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy