Project

General

Profile

Bug #22711

Webpack uglifier errors out

Added by Michael Moll 9 months ago. Updated 4 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
JavaScript stack
Target version:

Description

Currently webpack:compile fails with:

18:50:21 ERROR in vendor-4138154b37191d0e971d.js from UglifyJs
18:50:21 Unexpected token: name (format_format) [vendor-4138154b37191d0e971d.js:41555,4]

Associated revisions

Revision fdfc5429 (diff)
Added by Avi Sharvit 9 months ago

Fixes #22711 - fix uglifyjs-webpack plugin

Revision eefb846c (diff)
Added by Michael Moll 9 months ago

Refs #22711 - add uglifyjs-webpack-plugin to package.json

History

#1 Updated by Michael Moll 9 months ago

I think 1.16 and 1.17 need to get this, in order to have working builds.

#2 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5277 added

#3 Updated by Michael Moll 9 months ago

  • Related to Bug #21857: uglifier 4.x fails to precompile assets added

#4 Updated by Michael Moll 9 months ago

  • Related to deleted (Bug #21857: uglifier 4.x fails to precompile assets)

#5 Updated by Michael Moll 9 months ago

  • Priority changed from Normal to High
  • Assignee deleted (Michael Moll)
  • Status changed from Ready For Testing to New
  • Subject changed from Enable ES6 support for uglifier to Webpack uglifier errors out
  • Pull request deleted (https://github.com/theforeman/foreman/pull/5277)

Setting to high as this is currently blocking tests and package builds. AFAICT now, the root cause is not in the Rails asset pipeline but somewhere in the webpack chain.

#6 Updated by The Foreman Bot 9 months ago

  • Assignee set to Ohad Levy
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5282 added

#7 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5283 added

#8 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5287 added

#9 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5288 added

#10 Updated by Anonymous 9 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#11 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5289 added

#12 Updated by Michael Moll 9 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/5282)

Also available in: Atom PDF