Cut down highlight.js size

This commit is contained in:
venashial
2022-06-24 22:26:49 -07:00
parent 81c039d645
commit 1b17049e94
7 changed files with 49 additions and 31 deletions

View File

@@ -9,7 +9,7 @@ import Generator from './src/plugins/generator/index.js'
import precompileIntl from 'svelte-intl-precompile/sveltekit-plugin'
/** @type {import('@sveltejs/kit').Config} */
const config = {
export default {
extensions: ['.svelte', ...mdsvexConfig.extensions],
preprocess: [preprocess, mdsvex(mdsvexConfig)],
@@ -61,5 +61,3 @@ const config = {
},
},
}
export default config