javascript-packager

0.0.11 • Public • Published

javascript-packager

Used to build javascript: it allow to make a config file for the javascripts files you want to concatenate and minify in one file.

USAGE

GENERAL USE:

$javascript-packager [--watch] ][--path] [--jsFile] [--destDir] [--destFile] [--debug]

--watch: watch the javascript folder for changes, if changes concatenate and minify the javascripts files another time

--path: path to js files

--jsFile: javascript configuration file, every importation line must start by @import:

--destDir: destination directory for the concatenated and minifyed js files

--destFile: name of the concatenated and minifyed files withtout .js

--debug: enable debug message in the console

EXAMPLE:####

jsFile:#####
@import: script1.js
@import: script2.js
...
@import: scriptX.js
javascript-packager:#####
$javascript-packager --watch --jsFile src/js/javascript.config --destDir ../../workspace/build/src/js --destFile file

Readme

Keywords

none

Package Sidebar

Install

npm i javascript-packager

Weekly Downloads

2

Version

0.0.11

License

none

Last publish

Collaborators

  • guillaumeparis2000