Changeset 44282
- Timestamp:
- 12/18/2018 03:13:58 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43931-43932
- Property svn:mergeinfo changed
-
trunk/Gruntfile.js
r44252 r44282 106 106 plugins: [BUILD_DIR + 'wp-content/plugins'], 107 107 themes: [BUILD_DIR + 'wp-content/themes'], 108 all: cleanFiles, 108 all: [ 109 cleanFiles, 110 SOURCE_DIR + 'wp-includes/js/dist', 111 SOURCE_DIR + 'wp-includes/css/dist' 112 ], 109 113 js: [BUILD_DIR + 'wp-admin/js/', BUILD_DIR + 'wp-includes/js/'], 110 114 dynamic: { … … 139 143 '!.{svn,git}', // Exclude version control folders. 140 144 '!wp-includes/version.php', // Exclude version.php 145 '!**/*.map', // The build doesn't need .map files. 141 146 '!index.php', '!wp-admin/index.php', 142 147 '!_index.php', '!wp-admin/_index.php' -
trunk/tools/webpack/packages.js
r44262 r44282 269 269 } 270 270 271 if ( env.forceBuildTarget ) { 272 delete config.devtool; 273 config.mode = 'production'; 274 config.optimization = { 275 minimize: false 276 }; 277 } 278 271 279 if ( config.mode === 'development' ) { 272 280 config.plugins.push( new LiveReloadPlugin( { port: process.env.WORDPRESS_LIVE_RELOAD_PORT || 35729 } ) );
Note: See TracChangeset
for help on using the changeset viewer.