Skip to content

Commit bcd7b1f

Browse files
committed
chore(preprocess.external-link/inline-svg): add name
1 parent 3f563c3 commit bcd7b1f

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.changeset/late-gorillas-smoke.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@svelte-put/preprocess-external-link': patch
3+
'@svelte-put/preprocess-inline-svg': patch
4+
---
5+
6+
add name to preprocess factory output

packages/preprocess-external-link/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function externalLink(config) {
3939
};
4040
}
4141
return {
42+
name: 'preprocess-external-link',
4243
markup({ content, filename }) {
4344
if (!rConfig.files(filename)) return;
4445

packages/preprocess-inline-svg/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export function inlineSvg(sources, config) {
1111
const rConfig = resolveInlineSvgConfig(config);
1212

1313
return {
14+
name: 'preprocess-inline-svg',
1415
markup({ content, filename }) {
1516
if (!filename) return;
1617
return transform(content, filename, rSources, rConfig);

0 commit comments

Comments
 (0)