secard-loader-append-prepend
v1.0.0
Published
Loader for Webpack 4 to append and prepend text to files
Downloads
3
Readme
secard-loader-append-prepend
Loader for Webpack 4 to append and prepend text to files
Install
$ npm install --save-dev secard-loader-append-prepend
$ yarn add -D secard-loader-append-prepend
Usage
module.exports = {
module: {
rules: [
{
test: /\.js$/, // Use any filename you need
use: [
{
loader: 'secard-loader-append-prepend',
options: {
prepend: 'This goes at the beginning of the file',
append: 'This goes at the end of the file',
},
},
],
},
],
},
}
Warning
License
MIT