diff --git a/lib/custom/modes/elixir.js b/lib/custom/modes/elixir.js index 4f83056..0bf89e1 100644 --- a/lib/custom/modes/elixir.js +++ b/lib/custom/modes/elixir.js @@ -1,5 +1,3 @@ /* eslint-disable */ -import CodeMirror from 'codemirror' - // Require Codemirror elixir mode from npm modules and register it here -import registerElixirMode from 'codemirror-mode-elixir' +import 'codemirror-mode-elixir' diff --git a/lib/custom/modes/graphql.js b/lib/custom/modes/graphql.js index 9545e0c..8cc222d 100644 --- a/lib/custom/modes/graphql.js +++ b/lib/custom/modes/graphql.js @@ -1,3 +1,2 @@ /* eslint-disable */ -import CodeMirror from 'codemirror' import 'codemirror-graphql/mode'