build-include
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

«-(¯`v´¯)-« 【-🇧​🇺​🇮​🇱​🇩​-🇮​🇳​🇨​🇱​🇺​🇩​🇪​】 »-(¯`v´¯)-» br>

node

build-include

Documentation

Extensive documentation can be found here.

The What

This is a project that can be used to make other plugins such as grunt-build-include or can be use in node project where custom build include are needed.

Can be a simple include that replaces build_include statement with with the contents of a file.

Example:

// BUILD_INCLUDE("./scratch/mysnippet.js")

Can be a more complex replacement that applies formating using Options

Example:

var getStyleCss = function () {
  var css = '// BUILD_INCLUDE("./scratch/style.min.css")[asjsstring,breakString?width=80]';
  return css;
};

See Example: Asjsstring Include Text In Javascript String

Getting started

npm install build-include --save

grunt-build-include is build upon this project and demonstrates many uses.

Readme

Keywords

none

Package Sidebar

Install

npm i build-include

Weekly Downloads

30

Version

0.1.1

License

MIT

Unpacked Size

893 kB

Total Files

257

Last publish

Collaborators

  • amourspirit