Issues
the uglify plugin fails
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Checklist
hideTestRail: Results
Details
Assignee
Matt JonesMatt JonesReporter
Wolfram SchneiderWolfram SchneiderLabels
Priority
P3TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Reporter
Labels
Priority
TestRail: Cases
TestRail: Runs
Activity
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.
The uglify plugin fails: