measureFileSizesBeforeBuild(paths.appBuild) .then(previousFileSizes => {
return measureFileSizesBeforeBuild(paths.appBuild); }) .then(previousFileSizes => {
return measureFileSizesBeforeBuild(paths.appBuild); }) .then(previousFileSizes => {
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
return measureFileSizesBeforeBuild(paths.appBuild); }) .then(previousFileSizes => {
return measureFileSizesBeforeBuild(paths.appBuild); }) .then(previousFileSizes => {
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild) // Start the webpack build build(previousFileSizes) // Merge with the public folder copyPublicFolder() })
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });
// First, read the current file sizes in build directory. // This lets us display how much they changed later. measureFileSizesBeforeBuild(paths.appBuild).then(previousFileSizes => { // Remove all content but keep the directory so that // if you're in it, you don't end up in Trash fs.emptyDirSync(paths.appBuild); // Start the webpack build build(previousFileSizes); // Merge with the public folder copyPublicFolder(); });