Skip to content

Commit f3681a2

Browse files
committed
CodeMirror: remove auto-complete, so we're not bundling tern.
1 parent 0d5ef6b commit f3681a2

File tree

1 file changed

+2
-1
lines changed
  • packages/app/src/app/components/CodeEditor/CodeMirror

1 file changed

+2
-1
lines changed

packages/app/src/app/components/CodeEditor/CodeMirror/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ class CodemirrorEditor extends React.Component<Props, State> implements Editor {
225225
}
226226
};
227227

228-
if (settings.autoCompleteEnabled) {
228+
if (false && settings.autoCompleteEnabled) {
229+
// eslint-disable-line no-constant-condition
229230
const tern = await import(
230231
/* webpackChunkName: 'codemirror-tern' */ 'tern'
231232
).then(x => x.default);

0 commit comments

Comments
 (0)