https://github.com/varunsridharan/gulp-combine-files
This plugin will allow you to combine multiple JS files using (@gulp-append / @gulp-prepend / @gulp-inline
https://github.com/varunsridharan/gulp-combine-files
combine combine-files gulp gulp-combine-files inline javascript-library prepend
Last synced: about 2 months ago
JSON representation
This plugin will allow you to combine multiple JS files using (@gulp-append / @gulp-prepend / @gulp-inline
- Host: GitHub
- URL: https://github.com/varunsridharan/gulp-combine-files
- Owner: varunsridharan
- License: mit
- Created: 2018-10-23T01:00:36.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2020-10-18T14:59:51.000Z (over 4 years ago)
- Last Synced: 2025-02-10T15:50:38.438Z (4 months ago)
- Topics: combine, combine-files, gulp, gulp-combine-files, inline, javascript-library, prepend
- Language: JavaScript
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Gitter chat][gitter-image]][gitter-url]
# Gulp Combine Files
> This plugin will allow you to combine multiple JS files using (@gulp-append / @gulp-prepend / @gulp-inline)
## Getting Started
If you haven't used [Gulp](http://gulpjs.com/) Once you're familiar with that process, you may install this plugin with this command:```shell
npm install gulp-combine-files --save-dev
```Once the plugin has been installed, it may be enabled inside your Gulpfile with this line of JavaScript:
```js
var combine_files = require('gulp-combine-files');
```### Usage
```js
var gulp = require('gulp'),
combineFiles = require('gulp-combine-files');gulp.task('combine:test',function(){
return gulp.src("path_to_your_script_file")
.pipe(combineFiles({
append:'gulp-append',
prepend:'gulp-prepend',
inline:'gulp-inline',
})).pipe(gulp.dest('path_to_dist'));
});
```### Options
#### options.append
Type: `String|Bool`
Default value: `'gulp-append'`A string value that is used to do something with whatever.
#### options.prepend
Type: `String|false`
Default value: `'gulp-prepend'`A string value that is used to do something else with whatever else.
#### options.inline
Type: `String|false`
Default value: `'gulp-inline'`A string value that is used to do something else with whatever else.
---
## š Changelog
All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).[Checkout CHANGELOG.md](/CHANGELOG.md)
## š¤ Contributing
If you would like to help, please take a look at the list of [issues](issues/).## š° Sponsor
[I][twitter] fell in love with open-source in 2013 and there has been no looking back since! You can read more about me [here][website].
If you, or your company, use any of my projects or like what Iām doing, kindly consider backing me. I'm in this for the long run.- ā How about we get to know each other over coffee? Buy me a cup for just [**$9.99**][buymeacoffee]
- āļøāļø How about buying me just 2 cups of coffee each month? You can do that for as little as [**$9.99**][buymeacoffee]
- š° We love bettering open-source projects. Support 1-hour of open-source maintenance for [**$24.99 one-time?**][paypal]
- š Love open-source tools? Me too! How about supporting one hour of open-source development for just [**$49.99 one-time ?**][paypal]## š License & Conduct
- [**General Public License v3.0 license**](LICENSE) Ā© [Varun Sridharan](website)
- [Code of Conduct](code-of-conduct.md)## š£ Feedback
- ā This repository if this project helped you! :wink:
- Create An [š§ Issue](issues/) if you need help / found a bug## Connect & Say š
- **Follow** me on [šØāš» Github][github] and stay updated on free and open-source software
- **Follow** me on [š¦ Twitter][twitter] to get updates on my latest open source projects
- **Message** me on [š Telegram][telegram]
- **Follow** my pet on [Instagram][sofythelabrador] for some _dog-tastic_ updates!---
Built With ā„ By Varun Sridharan š®š³---
[paypal]: https://sva.onl/paypal
[buymeacoffee]: https://sva.onl/buymeacoffee
[sofythelabrador]: https://www.instagram.com/sofythelabrador/
[github]: https://sva.onl/github/
[twitter]: https://sva.onl/twitter/
[telegram]: https://sva.onl/telegram/
[email]: https://sva.onl/email
[website]: https://sva.onl/website/[latest-stable-version-img]: https://poser.pugx.org/varunsridharan/php-autoloader/version
[latest-Unstable-version-img]: https://poser.pugx.org/varunsridharan/php-autoloader/v/unstable
[total-downloads-img]: https://poser.pugx.org/varunsridharan/php-autoloader/downloads
[Latest-Unstable-version-img]: https://poser.pugx.org/varunsridharan/php-autoloader/v/unstable
[license-img]: https://poser.pugx.org/varunsridharan/php-autoloader/license
[composerlock-img]: https://poser.pugx.org/varunsridharan/php-autoloader/composerlock
[wpcs-img]: https://img.shields.io/badge/WordPress-Standar-1abc9c.svg[downloads-image]: http://img.shields.io/npm/dm/gulp-combine-files.svg
[npm-url]: https://www.npmjs.com/package/gulp-combine-files
[npm-image]: http://img.shields.io/npm/v/gulp-combine-files.svg
[gitter-url]: https://gitter.im/gulpjs/gulp
[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg