- 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
hardFailparam - 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
includePathsoption, 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.
requireandincludeno longer work the same.requirewill 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_treeandrequire_directoryas 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-includeran 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
extensionsparam for controlling what types of files to include
- Basic include