Make WordPress Core


Ignore:
Timestamp:
11/12/2018 04:18:52 AM (5 years ago)
Author:
pento
Message:

Build Tools: Add non-minified @wordpress scripts to the build output.

Props atimmer.
See #45156.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/webpack.config.js

    r43719 r43886  
    22const packagesConfig = require( './tools/webpack/packages' );
    33
    4 module.exports = function( env = { environment: "production", watch: false } ) {
     4module.exports = function( env = { environment: "production", watch: false, forceBuildTarget: false } ) {
    55    if ( ! env.watch ) {
    66        env.watch = false;
     7    }
     8
     9    if ( ! env.forceBuildTarget ) {
     10        env.forceBuildTarget = false;
    711    }
    812
Note: See TracChangeset for help on using the changeset viewer.