Skip to content

Commit e00ba38

Browse files
committed
fix: add missing return
1 parent a2e8363 commit e00ba38

File tree

1 file changed

+1
-1
lines changed
  • packages/e2e-tests/_test_dependencies/vite-plugins

1 file changed

+1
-1
lines changed

packages/e2e-tests/_test_dependencies/vite-plugins/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function transformValidation() {
4242
enforce: 'post',
4343
transform(code, id) {
4444
if (id.endsWith('.svelte')) {
45-
replaceWithSourceMap(code, '__JS_TRANSFORM_3__', 'Hello world');
45+
return replaceWithSourceMap(code, '__JS_TRANSFORM_3__', 'Hello world');
4646
}
4747
// can't handle css here as in build, it would be `export default {}`
4848
}

0 commit comments

Comments
 (0)