bundle-author-loader
v1.0.8
Published
一个 webpack loader,可以在打包后的 bundle 文件中添加(如 author)信息。
Downloads
2
Readme
bundle-author-loader
一个 webpack loader,可以在打包后的 bundle 文件中添加(如 author)信息。
Getting Started
To begin, you'll need to install bundle-author-loader:
npm install --save-dev bundle-author-loader
Then add the plugin to your webpack config. For example:
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.js$/,
use: {
loader: "bundle-author-loader",
options: { text: "/*** author xxx ***/" },
},
},
],
},
};