Issues

Select view

Select search mode

 

the uglify plugin fails

Done

Description

The uglify plugin fails:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 29, 2016 at 1:29 PM
Updated November 10, 2017 at 2:29 AM
Resolved November 10, 2017 at 2:29 AM

Activity

Show:

Matt JonesNovember 10, 2017 at 2:29 AM

Minification was re-enabled using the latest stand-alone version of the UglifyJS webpack plugin. The version of the plugin included with Webpack is not compatible with ES6 and thus throws parsing errors. Webpack 4 should include the newer version of UglifyJS by default. This was included in PR 92 of stripes-core.

Jason SkomorowskiFebruary 2, 2017 at 10:00 PM

Somehow this was re-enabled. At any rate, I believe the issue should stay until we actually fix minification.

Wolfram SchneiderDecember 5, 2016 at 9:45 AM

commit 1fcb385d53faed133145d98ea2cb868ebb798ed7
Author: Wolfram Schneider <wosch@indexdata.com>
Date: Mon Dec 5 09:43:34 2016 +0000

disable webpack.optimize.UglifyJsPlugin, see

Wolfram SchneiderNovember 29, 2016 at 1:31 PM

I commented out

new webpack.optimize.UglifyJsPlugin({})

in webpack.config.prod.js and webpack runs again. Fine for a workaround, but we should check later whats wrong here.

TestRail: Cases
TestRail: Runs