You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NPM distribution has CodeMirror$1 due to rollup's import-export intricacies, I suppose, but there's no $1 in the official site version at http://codemirror.net/lib/codemirror.js.
I've been always using the site version, but recently AMO reviewers insisted we switch to the versioned source in NPM so now I see lots of these $1 for my editor objects in devtools when debugging live code in the browser. It's a visual noise, which I dislike.
Can you fix this please?
If it's not possible by re-arranging something in the source files, would you consider a post-build text replacement?
The text was updated successfully, but these errors were encountered:
FWIW, commenting out export default CodeMirror in /src/codemirror.js removes $1 from the rollup output, and the result is just as usable at least in my case.
This my be due to a different version of rollup or one of its plugins being used to build the live version. I don't consider function name properties to be a significant part of the exported file, so I don't consider this an important enough issue to investigate. But if you can figure out a way to clean it up (without breaking any backwards compatibility) a pull request would definitely be welcome.
NPM distribution has
CodeMirror$1
due to rollup's import-export intricacies, I suppose, but there's no$1
in the official site version at http://codemirror.net/lib/codemirror.js.I've been always using the site version, but recently AMO reviewers insisted we switch to the versioned source in NPM so now I see lots of these
$1
for my editor objects in devtools when debugging live code in the browser. It's a visual noise, which I dislike.Can you fix this please?
If it's not possible by re-arranging something in the source files, would you consider a post-build text replacement?
The text was updated successfully, but these errors were encountered: