1.0.8 • Published 5 years ago

bundle-author-loader v1.0.8

Weekly downloads
5
License
ISC
Repository
-
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.0

5 years ago