-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support :es-next-in output feature set #851
Comments
What is the error you get? Can you provide an example of such a package? |
Example package: Error thrown with
After these errors are thrown, the build hangs indefinitely. |
Try |
@thheller thanks for adding the additional feature set so quickly! Unfortunately I still cannot install
It looks like optional chaining is an ES2020 feature that the Closure compiler now supports (see here and here). I am guessing once ClojureScript bumps their dep of the Closure compiler, this package will be supported by shadow-cljs. |
Did you try setting a higher :output-feature-set? But yeah we are a bit
behind in the closure versions so cutting edge stuff may be incomplete.
…On Thu, Mar 11, 2021 at 11:17 PM Thomas Crowley ***@***.***> wrote:
@thheller <https://github.com/thheller> thanks for adding the additional
feature set so quickly!
Unfortunately I still cannot install @codemirror/state
Closure compilation failed with 1 errors
--- null:-1
Attempted to run pass "removeWeakSources" on input with features it does not support. Running pass anyway.
Unsupported features: [Optional chaining]
It looks like optional chaining is an ES2020 feature that the Closure
compiler now supports (see here
<https://github.com/google/closure-compiler/wiki/Supported-features> and
here <google/closure-compiler#2899>). I am
guessing once ClojureScript bumps their dep of the Closure compiler, this
package will be supported by shadow-cljs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#851 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDMIVU4ECB5AEPCGXEHXLTDE6PNANCNFSM4Y7IUQ3Q>
.
|
FYIW |
@kommen we also use Code Mirror next in our product, and have had it in production for the last two months, that's not the problem - that has been working great :)
|
@wavejumper thanks for the clarification. Makes sense, we're still on |
@kommen oh perfect, thanks for the heads up! Will try |
…olation. Requires shadow-cljs ugprade to fix `ES_NEXT_IN` build error created by `vscode-variables` dependency: * thheller/shadow-cljs#851 * thheller/shadow-cljs@6270072
Some of the NPM packages we depend on now require Closure's ES_NEXT_IN feature set.
This is something shadow-cljs does not currently support as it depends on an older version of the Closure compiler.
It looks like this is currently blocked by ClojureScript itself (as per this comment) which has a hard dependency on an older version of the compiler.
The text was updated successfully, but these errors were encountered: