code: function build(previousFileSizes) {
    console.log('Creating an optimized production build...');
  
    let compiler = webpack(config);
    return new Promise((resolve, reject) => {
      compiler.run((err, stats) => {
        if (err) {
          return reject(err);
        }
        const messages = formatWebpackMessages(stats.toJson({}, true));
        if (messages.errors.length) {
          // Only keep the first error. Others are often indicative
          // of the same problem, but confuse the reader with noise.
          if (messages.errors.length > 1) {
            messages.errors.length = 1;
          }
          return reject(new Error(messages.errors.join('\n\n')));
        }
        if (
          process.env.CI &&
          (typeof process.env.CI !== 'string' ||
            process.env.CI.toLowerCase() !== 'false') &&
          messages.warnings.length
        ) {
          console.log(
            chalk.yellow(
              '\nTreating warnings as errors because process.env.CI = true.\n' +
                'Most CI servers set it automatically.\n'
            )
          );
          return reject(new Error(messages.warnings.join('\n\n')));
        }
  
        // Create stylesheet for use with the DBP
        const css = fs.readFileSync(
          path.join(paths.appBuild, 'styles', 'style.min.css'),
          'utf-8'
        );
        const out = postcss()
          .use(
            prefixer({
              prefix: '.et_divi_builder #et_builder_outer_content',
              exclude: [],
  
              // Optional transform callback for case-by-case overrides
              /*transform: function(prefix, selector, prefixedSelector) {
            if (selector === 'body') {
              return 'body.' + prefix;
            } else {
              return prefixedSelector;
            }
          }*/
            })
          )
          .process(css).css;
  
        fs.writeFileSync(
          path.join(paths.appBuild, 'styles', 'style-dbp.min.css'),
          out
        );
  
        return resolve({
          stats,
          previousFileSizes,
          warnings: messages.warnings,
        });
      });
    });
  }
docs: Create the production build and print the deployment instructions.