File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.9.1
4+ - Fixed * --keep-names* cli option.
5+
36## 0.9.0
47 - Added babel native transform support and updated babelrc.
58 - Added TerserPlugin with * --keep-names* cli option.
Original file line number Diff line number Diff line change 11{
22 "name" : " @squirrel-forge/simple-webpack" ,
3- "version" : " 0.9.0 " ,
3+ "version" : " 0.9.1 " ,
44 "description" : " A thin node wrapper for webpack with some basic options and configuration." ,
55 "main" : " src/classes/SimpleWebpack.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -208,9 +208,7 @@ module.exports = async function cli() {
208208 }
209209
210210 // Terser keep names options
211- if ( swpOptions . minify && options . keepnames ) {
212- swpOptions . keepnames = true ;
213- }
211+ swpOptions . keepnames = options . keepnames ;
214212
215213 // Load extend options
216214 if ( options . extend ) {
You can’t perform that action at this time.
0 commit comments