1.0.0 • Published 4 years ago
secard-loader-append-prepend v1.0.0
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
1.0.0
4 years ago