Optimize (concatenate) melchior.js projects using Gulp plugin.
If you haven't used Gulp before, be sure to check out the Getting Started guide, as it explains how to create a
Gulpfile as well as install and use Gulp plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install gulp-melchior --save-dev
var melchior = ;
This is basic task to concatenate all files in Melchior project
melchior plugin can be initialized with options object. In example:
This option is used when file with Melchior config isn't in the same folder as Gulp(this is normal).
├──gulpfile.js └──app ├──js │ ├──config.js │ ├──app.js │ └──module.js ├──html └──css
Gulp Task example:
path with correct path delimeter character.
Concatenation of non-local files
Right now non-local files don't concatenated in result file.