Skip to content

Commit 217c8f3

Browse files
committed
chore: move import
1 parent 716e59d commit 217c8f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/vite-plugin-svelte/src/preprocess.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ import { preprocessCSS, resolveConfig, transformWithEsbuild } from 'vite';
22
import type { ESBuildOptions, InlineConfig, ResolvedConfig } from 'vite';
33
// eslint-disable-next-line node/no-missing-import
44
import type { Preprocessor, PreprocessorGroup } from 'svelte/types/compiler/preprocess';
5+
import { mapSourcesToRelative } from './utils/sourcemaps';
56

67
const supportedStyleLangs = ['css', 'less', 'sass', 'scss', 'styl', 'stylus', 'postcss', 'sss'];
78
const supportedScriptLangs = ['ts'];
89

9-
import { mapSourcesToRelative } from './utils/sourcemaps';
10-
1110
export function vitePreprocess(opts?: {
1211
script?: boolean;
1312
style?: boolean | InlineConfig | ResolvedConfig;

0 commit comments

Comments
 (0)