src2dist
Output the template source file to the destination by default variables
Feature
- can be renamed
- can be excluded
Install
npm i src2dist -D
Usage
// const src2dist = require("src2dist").default; success:bool interface Option exclude?=defaultRenderExclude:ArrayString|Regular cover?=false:Boolean const defaultRenderExclude = '.*eot$' '.*svg$' '.*ttf$' '.*woff$' '.*jpe?g$' '.*png$' '.*gif$';
;
Note
- item of
options.exclude
is the relative path of the children file tosourcePath
License
MIT