diff --git a/src/language/openscad-completions.ts b/src/language/openscad-completions.ts index 10221da..a6e54d4 100644 --- a/src/language/openscad-completions.ts +++ b/src/language/openscad-completions.ts @@ -1,7 +1,7 @@ // Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING. -import FS from 'browserfs/dist/node/core/FS'; + import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; -import { FSMounts, readDirAsArray, Symlinks } from '../filesystem'; +import { FS, readDirAsArray, Symlinks } from '../filesystem'; import { ParsedFile, ParsedFunctionoidDef, parseOpenSCAD, stripComments } from './openscad-pseudoparser'; import builtinSignatures from './openscad-builtins' import { mapObject } from '../utils'; diff --git a/src/language/openscad-language.ts b/src/language/openscad-language.ts index bc30d92..dec91cc 100644 --- a/src/language/openscad-language.ts +++ b/src/language/openscad-language.ts @@ -1,5 +1,5 @@ // Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING. -import FS from 'browserfs/dist/node/core/FS'; + import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; const builtInFunctionNames = [ diff --git a/src/language/openscad-pseudoparser.ts b/src/language/openscad-pseudoparser.ts index 10af1f6..9584830 100644 --- a/src/language/openscad-pseudoparser.ts +++ b/src/language/openscad-pseudoparser.ts @@ -1,4 +1,5 @@ // Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING. + export type ParsedFunctionoidDef = { path: string, name: string,