start-write
Write task for Start.
Install
npm install --save-dev start-write# or yarn add --dev start-write
Usage
;;;;;; const build= ;
This task relies on [{ path, data, map }]
input and provides the same, see documentation for details.
Arguments
write(dir, encoding, sourcemapOptions)
dir
– output directory, will be created automatically if it doesn't existsencoding
–fs.writeFile
encoding option,utf-8
by defaultsourcemapOptions
– options using to generate Source Maps:extname
– sourcemap file extension,'.map'
by defaultprefix
– prefix string which will be used to generatesourceMappingURL
sourcemap comment,''
by default