Changeset 43932
- Timestamp:
- 11/22/2018 03:11:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tools/webpack/packages.js
r43931 r43932 265 265 }; 266 266 267 if ( config.mode !== 'production' && ! env.forceBuildTarget) {267 if ( config.mode !== 'production' ) { 268 268 config.devtool = process.env.SOURCEMAP || 'source-map'; 269 } 270 271 if ( env.forceBuildTarget ) { 272 delete config.devtool; 273 config.mode = 'production'; 274 config.optimization = { 275 minimize: false 276 }; 269 277 } 270 278
Note: See TracChangeset
for help on using the changeset viewer.