An open API service indexing awesome lists of open source software.

https://github.com/jakecyr/bundle-javascript-files

Simple Script to Compile JS Files on a HTML page
https://github.com/jakecyr/bundle-javascript-files

algorithm bundle compile javascript

Last synced: 9 months ago
JSON representation

Simple Script to Compile JS Files on a HTML page

Awesome Lists containing this project

README

          

# BundleJS
Simple Script to Compile JS Files on a HTML page. Will search a specified HTML page and download a compiled JS file of all scripts on that page. Meant to bundle files before minifying.

### How to use
Download the `bundle.js` file and add the following `script` tag on one of your HTML pages:
```html

```
replacing `index.html` with the HTML page you want the script to search for scripts on to compile.

To prevent a JavaScript file from being included in the output, add the following comment to the file you want to exclude:
```javascript
// INCLUDE == FALSE
```