You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/kit/src/vite/index.js
+4-51
Original file line number
Diff line number
Diff line change
@@ -58,21 +58,14 @@ const enforced_config = {
58
58
root: true
59
59
};
60
60
61
+
// TODO: Figure out how to reload the svelte.config.js when changes happen.
62
+
constsvelte_config=awaitload_config();
63
+
61
64
/**
62
65
* @return {import('vite').Plugin[]}
63
66
*/
64
67
exportfunctionsveltekit(){
65
-
// TODO: find out if this is the right place to ensure we add preprocessing for replacing sveltekit specific attributes
66
-
// NOTE: OR maybe it is autimatically passed in, since it uses the svelte.config.js file where we might have additional preprocessing
67
-
// TODO: Ensure preprocessing works with multiple calls to `svelte-preprocess`.
68
-
// Seems like it should be find though, as it likely is using an internal closure to keep state, and returning the callback to actually execute the transform.
69
-
70
-
// IDEA: We could use svelte-preprocess to create the needed config for preprocessing `sveltekit:*`
71
-
// TODO: Update regex to only match attributes and not all string values, to prevent it from replacing text content.
0 commit comments