question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot disable ES5 transpilations

See original GitHub issue

Moved from here: https://github.com/vaadin/framework/issues/11504

  • Vaadin Framework version: 13.0.1
  • Browser version: Google Chrome Version 72.0.3626.121 (Official Build) (64-bit)

If I disable the ES5 transpile in the maven build, with <skipEs5>true</skipEs5>, I still get the following exception, even with latest Chrome and also Safari:

java.lang.IllegalArgumentException: Failed to find the bundle manifest file ‘frontend://vaadin-flow-bundle-manifest.json’ in the servlet context for ‘ES5’ browsers. If you are running a dev-mode servlet container in maven e.g. jetty:run change it to jetty:run-exploded. If you are not compiling frontend resources, include the ‘vaadin-maven-plugin’ in your build script. Otherwise, you can skip this error either by disabling production mode, or by setting the servlet parameter ‘original.frontend.resources=true’. Vaadin plugin is obsviouly enabled, just skipping ES5, but this error happens anyway. ES5 support is pretty useless for me, so I would like to avoid having to compile it.

Can you fix this bug, please?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jm-ferreiracommented, Feb 27, 2020

Starting from Vaadin 14.2 ES5 transpilation is disabled by default while running in DevMode.

1reaction
gsedlaczcommented, Jun 17, 2019

The issue is remains present in 14.0.0.beta3. As this is an officially documented feature a bugfix would be nice.

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Babel : turn off import directives transpilation
I am trying to use the babel transpiler to use ES6 in a project, but i'm struggling with something quite unusual : I'm...
Read more >
Installation | Mapbox GL JS
Use browserslist to target transpilation to a set of compatible transforms; Explicitly disable transpiling of the Mapbox GL JS bundle; Load and transpile...
Read more >
How to transpile ES modules with webpack and Node.js
Learn how webpack interacts with and supports ES modules in this deep dive tutorial on transpilation in Node.js.
Read more >
ES5 in Production, ES6 in Development
ES5 in Production, ES6 in Development ... Disabling ES6 Transpilation ... Unfortunately, we still can't rely on native ECMAScript 6 for ...
Read more >
How to quickly transpile JavaScript using Babel alone? A ...
It can transpile your code from ES6 (or higher) to ES5 (or lower). ... tool and it can't do transpilation of TypeScript to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found