Changeset 43931
- Timestamp:
- 11/22/2018 02:04:51 AM (6 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/Gruntfile.js
r43905 r43931 72 72 }, 73 73 clean: { 74 all: [BUILD_DIR], 74 all: [ 75 BUILD_DIR, 76 SOURCE_DIR + 'wp-includes/js/dist', 77 SOURCE_DIR + 'wp-includes/css/dist' 78 ], 75 79 dynamic: { 76 80 dot: true, … … 99 103 '!wp-includes/js/jquery/ui/*.js', 100 104 '!wp-includes/js/tinymce/tinymce.js', 101 '!wp-includes/version.php' // Exclude version.php 105 '!wp-includes/version.php', // Exclude version.php 106 '!**/*.map' // The build doesn't need .map files. 102 107 ], 103 108 dest: BUILD_DIR -
branches/5.0/tools/webpack/packages.js
r43919 r43931 265 265 }; 266 266 267 if ( config.mode !== 'production' ) {267 if ( config.mode !== 'production' && ! env.forceBuildTarget ) { 268 268 config.devtool = process.env.SOURCEMAP || 'source-map'; 269 269 }
Note: See TracChangeset
for help on using the changeset viewer.