-
-
Notifications
You must be signed in to change notification settings - Fork 158
Add forceAllTransforms option and deprecate Uglify target #264
Conversation
👍 Also not sure about Maybe focus on the code transformation? Or combine all the thoughts and use |
@yavorsky thoughts on With a module.exports = {
presets: [
["env", {
targets: {
chrome: 59,
edge: 13,
firefox: 50,
},
// for uglifyjs...
forceAllTransforms: process.env === "production"
}],
],
}; |
5692c83
to
a8011a4
Compare
|
a8011a4
to
16eab52
Compare
06f8242
to
c6fd48d
Compare
c6fd48d
to
a18d636
Compare
Codecov Report
@@ Coverage Diff @@
## 2.0 #264 +/- ##
==========================================
- Coverage 96.87% 96.43% -0.44%
==========================================
Files 9 9
Lines 384 393 +9
Branches 124 126 +2
==========================================
+ Hits 372 379 +7
- Misses 3 4 +1
- Partials 9 10 +1
Continue to review full report at Codecov.
|
…)" This reverts commit 4ddd615.
@existentialism @yavorsky can you add a prefix to your deprecation messages? I update dependencies, start a new production build and got such message: Firstly I think that problem in new Webpack 3.5, but its and UglifyPlugin source code does not contain such massage. And look in my in your code you use |
@nodkz 👍 |
Fixes #234.
Added as a deprecation, but can straight remove if we want?
Also, still unsure about the name (
useTargetSyntax
?)?