@nice-labs/emit-file-webpack-plugin
v1.1.4
Published
Emit a file to output directory
Downloads
82
Readme
@nice-labs/emit-file-webpack-plugin
Emit a file to output directory
Installation
npm install --save-dev @nice-labs/emit-file-webpack-plugin
Usage
import { Configuration } from 'webpack'
import { emitFile } from '@nice-labs/emit-file-webpack-plugin'
const configuration: Configuration = {
// ...
plugins: [
// ...
emitFile({
disabled: false, // disable the plugin
name: '...', // output file name
content: '...', // output file content
}),
// ...
],
// ...
}
export default configuration