https://github.com/cundd/neuter-plus
Builds source files in the order you require with the speed of C++
https://github.com/cundd/neuter-plus
Last synced: 21 days ago
JSON representation
Builds source files in the order you require with the speed of C++
- Host: GitHub
- URL: https://github.com/cundd/neuter-plus
- Owner: cundd
- Created: 2014-01-10T15:42:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-23T16:03:33.000Z (about 11 years ago)
- Last Synced: 2025-01-21T15:11:38.091Z (over 1 year ago)
- Language: C++
- Size: 395 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
neuter+
=======
Concatenate files in the order you require.
Usage:
neuter-plus --input "input-with-require-statement.js" --output "output-name.js" --basePath "base-for-the-required-files-paths"
A bit like [grunt-neuter](https://github.com/trek/grunt-neuter) but in fast.
Options
-------
### --input
Input file with the `require` statements.
### --output
Output file name
### --basePath
Base path from which relative file paths are resolved
### --wrapBefore
String to be placed before each `require` statement
Default: `(function() {`
### --wrapAfter
String to be placed after each `require` statement
Default: `})();`
### --separator
String to be placed between `require` statements
Default: `\n\n`
### --stdout
Print result to STDOUT instead of writing to file