Skip to content

Fix build failure

Gabriele De Blasi requested to merge wip-building-issue into master

The problem was due to the indirect update of browserslist/caniuse-lite dependency, which disables the use of @babel/plugin-transform-shorthand-properties (as of caniuse-lite@1.0.30001474) and thus prevent the expansion of shorthand properties in the Vue 'App' component.

Possible solutions:

  1. define in full obj properties, i.e. { VERSION: VERSION, TITLE: TITLE };
  2. force activation of only the relevant plugin (<-- adopted solution);
  3. force activation of all preset-env's transform plugins using the forceAllTransforms option.

Merge request reports