monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

Filed test with monaco-editor (Unexpected token {)

Open perryutkonos opened this issue 7 years ago • 2 comments

monaco-editor version: 0.17.1 Browser: Google Chrome 76 OS: MacOS 10.14

this code in file monaco-editor/esm/vs/editor/editor.api.js filed in test import { EDITOR_DEFAULTS } from './common/config/editorOptions.js'; because babel don't compile node_modules. Why do you use ESM in module? It's incorrect

perryutkonos avatar Aug 21 '19 15:08 perryutkonos

@perryutkonos Were you able to figure out the way round to fix this at your end or are your tests still failing?

goharanwar avatar Sep 03 '19 09:09 goharanwar

@perryutkonos the folder /esm/ contains files which use EcmaScript Modules. That is the reason that folder exists in our folder. The folder /dev/ or /min/ contain files which are in ES5.

alexdima avatar Dec 11 '19 15:12 alexdima