mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
pr feedback
This commit is contained in:
parent
e5aafff9ec
commit
a25df32a65
@ -5,7 +5,7 @@ import theme from '$lib/utils/theme?raw';
|
|||||||
import type { Handle } from '@sveltejs/kit';
|
import type { Handle } from '@sveltejs/kit';
|
||||||
import { ModuleKind, transpileModule } from 'typescript';
|
import { ModuleKind, transpileModule } from 'typescript';
|
||||||
|
|
||||||
export const transpileFile = (content: string) => {
|
const transpileFile = (content: string) => {
|
||||||
const result = transpileModule(content, {
|
const result = transpileModule(content, {
|
||||||
compilerOptions: { module: ModuleKind.ES2020, removeComments: true },
|
compilerOptions: { module: ModuleKind.ES2020, removeComments: true },
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user