v7.4.8
Fixes
- add missing
exports
to allow importing fromsvelte-highlight/styles
andsvelte-highlight/languages
(#316, 12e7830)
This fix supports the following import variations:
// Base import for styles/languages
import { _default } from "svelte-highlight/styles";
import { _1c } from "svelte-highlight/languages";
// Explicit index
import { _default } from "svelte-highlight/styles/index";
import { typescript } from "svelte-highlight/languages/index";
// Explicit extension
import lang from "svelte-highlight/languages/1c.js"
import style from "svelte-highlight/styles/3024.js";