A minimal reproduction of a bug when using Svemix and MDsveX together.
The same issue will probably be encountered with other preprocessors as well.
- Clone this repository.
- Open the cloned directory in a terminal.
- Execute
npm install
. - Execute
npm run dev
. - Open a browser and navigate to
localhost:3000
. - See that an error pops up.
- Shut down the dev process.
- Remove the MDsveX preprocess option from
svelte.config.js
(See comments insvelte.config.js
for more info on how this is accomplished). - Execute
npm run dev
. - Open a browser and navigate to
localhost:3000
. - The error no longer appears and Svemix works correctly, but Markdown content is no longer supported.
Just showcasing how Svemix and MDsveX were installed.
npm init svelte@next svemix-mdsvex-bug
cd svemix-mdsvex-bug
npm install
npm install svemix
npm i --save-dev mdsvex