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
Trying to up from v0.10.6 to latest (0.12.2) and it results in
error during build:
Error: The layout path you provided couldn't be found at either /home/jan/dev/content/packages/lms/src/lib/components/ui/Layout.svelte or /home/jan/dev/content/packages/lms/home/jan/dev/content/packages/lms/src/lib/components/ui/Layout.svelte. Please double-check it and try again.
This works fine on any version below 0.12.0, including 0.11.1.
// svelte.config.jsimportpreprocessfrom'svelte-preprocess';importnodefrom'@sveltejs/adapter-node';import{vitePreprocess}from'@sveltejs/kit/vite';import{mdsvex}from'mdsvex';importcalloutsfrom'remark-emoji-callout';importgfmfrom'remark-gfm';importpathfrom'path';import{fileURLToPath}from'url';const__filename=fileURLToPath(import.meta.url);const__dirname=path.dirname(__filename);importcodeBlockPluginfrom'./src/lib/utils/remarkPlugins/codeBlockPlugin.js';/** @type {import('@sveltejs/kit').Config} */constconfig={// Consult https://kit.svelte.dev/docs/integrations#preprocessors// for more information about preprocessorspreprocess: [vitePreprocess(),mdsvex({layout: path.join(__dirname,'./src/lib/components/ui/Layout.svelte'),extensions: ['.md','.svx'],remarkPlugins: [gfm,callouts,{dataAttribute: 'custom-callout',titleTextTagName: 'span',iconTagName: 'span'// ...},codeBlockPlugin]}),preprocess({postcss: true})],extensions: ['.svelte','.md'],kit: {adapter: node()}};exportdefaultconfig;
Trying to up from v0.10.6 to latest (0.12.2) and it results in
This works fine on any version below 0.12.0, including 0.11.1.
We're still on Svelte 3 and Vite 4
The text was updated successfully, but these errors were encountered: