https://github.com/geolffreym/combiner.js
Combine and minify your javascript
https://github.com/geolffreym/combiner.js
Last synced: 2 months ago
JSON representation
Combine and minify your javascript
- Host: GitHub
- URL: https://github.com/geolffreym/combiner.js
- Owner: geolffreym
- Created: 2017-05-09T01:07:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T01:15:43.000Z (about 8 years ago)
- Last Synced: 2025-02-02T09:27:52.230Z (4 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple Combiner
=========================
Simple Combiner.Config
------
Configuration is very simple, you just have to create the folder /config/ and create the file init.jsYou need to set the APP_PATH, is who is responsible for setting the relative directory of your application, the default is '/' and finally the environment, which can be either development or production.
```js
var setting = {
app_path : '/',
env: 'development'
};
//Please install Node and run the command `npm install` and `npm start` to execute
//Set Environment
if ( typeof exports !== 'undefined' )
exports.setting = setting;
```
Joining files
-------------Blend files is relatively simple, you must first establish the libraries you want to use in environment.
This is the /app/development/init
```js
//Development
exports.files = {
js: {
output: 'app/include/init', //The output default base/include/init
src: [
'app/config/init', // Needed do not change
'system/base/init', // Needed do not change
// 'lib/Form',
// 'lib/Upload' // Add all the necessary scripts for startup
]
}
}
```Please install Node and run the command `npm install` and `npm start` to execute