Jetpack: Build: Dashboard, Instant Search, Blocks broken in IE11

Created on 20 Dec 2019  路  7Comments  路  Source: Automattic/jetpack

Originally reported in 4578-gh-jpop-issues


All our bundles are currently broken in IE11, as more and more of our dependencies we rely on use ES6, which can't be used in IE11.

There are different ways to solve that problem.

In the past, we have made an exception and transpiled modules that shipped with ES6:

12511

12541

Calypso does that for multiple modules:
https://github.com/Automattic/wp-calypso/blob/5d143f1e7f4d96ddf833db4e0c42c0598d9406aa/webpack.config.js#L126

A potential solution that would work for everyone could be to rely on calypso-build to do that work for us:
https://github.com/Automattic/wp-calypso/pull/33496
https://github.com/Automattic/wp-calypso/pull/33492

Admin Page Instant Search Search [Pri] High [Type] Bug

All 7 comments

@jsnajdr recently merged https://github.com/Automattic/wp-calypso/pull/38531 -- an update to calypso-build v6 might thus fix the issue.

Yep, waiting on Renovate to hit us up with a PR soon :)

Not sure why Renovate isn't updating this PR even if it's been some time since calypso-build v6.0.0 update: https://github.com/Automattic/jetpack/pull/14194

Update: Oh! Renovate works only during weekends 馃榾

https://github.com/Automattic/jetpack/blob/03212a4ae7fe3fe060c231d00702d1b7eecf8dd1/.github/renovate.json#L7

I can't seem to build Jetpack with Calypso Build 6.0.0:

Message:
    Module build failed (from ./node_modules/@automattic/calypso-build/node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
[BABEL] wp-content/plugins/jetpack/node_modules/@automattic/format-currency/node_modules/debug/src/browser.js: Cannot find module '@babel/plugin-transform-runtime' from 'wp-content/plugins/jetpack'

can't seem to build Jetpack with Calypso Build 6.0.0:

I think both @blowery and @jsnajdr are AFK today but I'll ping 'em anyway 馃榿

Blocks & Search bundles were mentioned fixed.

Did the Jetpack dashboard also get fixed?

Did the Jetpack dashboard also get fixed?

Yes, it works well in IE11 in my test.

Was this page helpful?
0 / 5 - 0 ratings