From 9f2282ed859b3738e9b113a19add97a8e0ca4790 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Fri, 17 Jan 2020 10:11:21 -0700 Subject: [PATCH] #22 doc --- src/Builder.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Builder.js b/src/Builder.js index 86ba95e..32e0292 100644 --- a/src/Builder.js +++ b/src/Builder.js @@ -11,12 +11,11 @@ * * If the project is a requirejs project (indicated in the buildrc file), will use the r.js build optimizer to compile * the project into one file before minifying and transpiling. See https://requirejs.org/docs/optimization.html. - * This file will only optimize the .js files in the source directory and move it to the build directory. There is - * an option to generate a _build.html file with the requirejs minified code as the only script. This only works if - * there is an index.html file. + * There is an option to generate a _build.html file with the requirejs minified code as the only script. This only + * works if there is an index.html file. * - * If the project isn't a requirejs project, this will minify each file in the source directory and copy it over - * to the build directory. + * Otherwise, if the project isn't a requirejs project, this file will optimize the .js files in the source directory + * and copy it over it to the build directory (with the same relative subdirectory paths). * * @author Brandon Li */