https://github.com/arulkumar-lab/amd-javascript-example
AMD module using gulp task / direct loading to HTML
https://github.com/arulkumar-lab/amd-javascript-example
amd amd-module amdoptimize jquery requirejs
Last synced: 2 months ago
JSON representation
AMD module using gulp task / direct loading to HTML
- Host: GitHub
- URL: https://github.com/arulkumar-lab/amd-javascript-example
- Owner: arulkumar-lab
- License: mit
- Created: 2020-06-23T11:13:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T10:03:38.000Z (over 2 years ago)
- Last Synced: 2025-01-31T23:44:35.684Z (4 months ago)
- Topics: amd, amd-module, amdoptimize, jquery, requirejs
- Language: JavaScript
- Size: 431 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# amd-javascript-example
AMD module with requireJS / jquery using gulp task and direct loading to HTML
```npm install```
Windows CLI to bundle the dist folder```r.js.cmd -o build.js```
Bundle the dist folder```r.js -o build.js```
Load global compressed file (i.e index.html)
``````
Load direct JS module (i.e index.html)
``````
*Note: To enable debugging add debugger; or un-comment //debugger; from app.js.
Reference:
https://requirejs.org/docs/optimization.html
