codemirror-graphql esm imports not consistent
See original GitHub issueI noticed that within the es module files (i.e. info.esm.js), they’re importing the non-es module version of the utils – causing import errors:
Expected: info.esm.js:
import { getArgumentReference, getDirectiveReference, getEnumValueReference, getFieldReference, getTypeReference } from './utils/SchemaReference.esm';
Actual info.esm.js:
import { getArgumentReference, getDirectiveReference, getEnumValueReference, getFieldReference, getTypeReference } from './utils/SchemaReference';
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:15 (7 by maintainers)
Top Results From Across the Web
ESM importing all files from folder with index.js not working
My purpose is to import all files from stuff/ folder using the index.js file. I know that in ES6, having an index.js file...
Read more >Node Modules at War: Why CommonJS and ES ... - Code Red
ESM scripts can import CJS scripts, but only by using the “default import” syntax ... (Fear not, I'll explain them all here in...
Read more >Documentation - ECMAScript Modules in Node.js - TypeScript
When a .ts file is compiled as an ES module, ECMAScript import / export syntax ... files are always CommonJS modules, and there's...
Read more >import - JavaScript - MDN Web Docs - Mozilla
The static import declaration is used to import read-only live bindings which are exported by another module. The imported bindings are ...
Read more >API - esbuild
If needed, the working directory that esbuild uses can be set with the working ... The esm format will automatically be enabled when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could we reopen this issue? I am using Snowpack, and this is causing me problems
Duplicate of #1606