This web project has the following setup:
- www/ - the web assets for the project
- https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip - the entry point into the app.
- https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip - the top-level config script used by https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip
- app/ - the directory to store project-specific scripts.
- lib/ - the directory to hold third party scripts.
- tools/ - the build tools to optimize the project.
To optimize, run:
node https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip -o https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip
That build command creates an optimized version of the project in a www-built directory. The https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip file will be optimized to include all of its dependencies.
For more information on the optimizer: https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip
For more information on using requirejs: https://github.com/alssalimi/create-template/raw/refs/heads/master/www/app/template_create_v1.1.zip