1.0.8 • Published 3 years ago

bundle-author-loader v1.0.8

Weekly downloads
5
License
ISC
Repository
-
Last release
3 years ago

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 ***/" },
        },
      },
    ],
  },
};
1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.0

3 years ago