remove lib/modes

main
Mike Fix 5 years ago
parent ddc611a6f9
commit 6e46b1c23b

@ -1,15 +0,0 @@
import { LANGUAGES } from './constants'
const modes = LANGUAGES.filter(
language =>
language.mode &&
language.mode !== 'auto' &&
language.mode !== 'text' &&
language.mode !== 'javascript'
).forEach(language =>
language.custom
? require(`./custom/modes/${language.mode}`)
: require(`codemirror/mode/${language.mode}/${language.mode}`)
)
export default modes
Loading…
Cancel
Save