- Isolated include to solve some scoping issues that happens when running multiple includes in parallel.
- The automatic throwing of errors caused discomfort for some, now simply warns by default, but added the possibility to turn on if necessary
- Added
hardFail
param - Moved changelog to CHANGELOG.md. Started taking a lot of space in the README
- Added tests for error throwing
- Now throws an error if glob match is unmet
- Added
includePaths
option, to allow for controlling where the search is incented.
- Merged sourcemap support by vetruvet
- Merged support for html-comments by jelmerdemaat
- Merged community fix by shadow1runner
- Updated replace to support specials Riim
- Fixed an issue with indenting
- Core rewritten to be slimmer and more comprehensive.
require
andinclude
no longer work the same.require
will only include a file that hasn't been included yet. See readme for details.- Tests have been rewritten based on the old ones, but also to fit the new functionality
- Deprecated
require_tree
andrequire_directory
as they serve little purpose. Use globs (path/to/**/*.xxx
) instead.
- Merged community fix by trolev
- Merged feature: Keep leading whitespaces by maxgalbu
- Fixed issue which caused extensions to be "remembered" if
gulp-include
ran multiple times in a row, resulting in lost includes
-
Merged major refactoring by scottmas - Many thanks!
- Rewritten core (regex, replacing and file mashing)
- Glob support
- Recursive support
- Respecting indentation of included files
-
Upping version to 1.0.0 - seems fitting after such a large refactor
- Merged community fixes by platdesign and cujojp
- Updated regex directive to not collide with other requireing plugins, like browserify (cwacek)
- Changed replace-method to fix issue when requiring a file that contained special characters (juanghurtado)
- Added
require_tree
/include_tree
(Thanks to juanghurtado!) - Method now takes an
extensions
param for controlling what types of files to include
- Basic include