Bundler Demo App
require('<relative-path>') statements followed by some source code, and outputs a single file with all
require()-ed content inlined.
Running The App
After following the setup instructions, run the following from this folder (
./run.sh --root example
This will run the app with the '.js' files in
./example as input. When prompted, input a path relative to
./example to see the output (bundled) version. For example, input 'index.js' to see
the output for
./run.sh --root example Initializing... Enter file path (relative to working directory): index.js <index.js bundle text here>
With the application running you can change the contents of the '.js' files in example, re-enter a file path at the prompt again, and view the updated bundled output. Enter
Control-d to exit.