Gulp Include Source

screenshot of Gulp Include Source

Include scripts and styles into your HTML files automatically.

Overview

Gulp-include-source is a powerful Gulp plugin designed to streamline the process of including scripts and styles directly into your HTML files without the need for manual editing. This automation not only saves time but also reduces the risk of human error when managing dependencies. With its straightforward installation and integration, developers can focus more on coding and less on the intricacies of file management.

The plugin operates through a flexible configuration, allowing for customization based on your project's specific requirements. Whether you are working on a small web project or a larger application, gulp-include-source can significantly enhance your workflow.

Features

  • Automatic Inclusion: Automatically incorporates scripts and styles into your HTML files, eliminating tedious manual updates.
  • Customizable Base Directory: Specify a base directory for the plugin to search for source files using the cwd option for enhanced project organization.
  • Flexible Script Extensions: Override the default script extension in the generated HTML code with the scriptExt option for tailored file handling.
  • Style Extension Control: Similarly, use the styleExt option to control the style extensions, allowing for compatibility with various file formats.
  • Simplicity: With an easy installation process via npm, setting up the plugin in your project can be done in just a few moments.
  • Open Source: Released under the MIT License, it encourages contributions and modifications from developers in the community.