Nuclear Package Magnet

    @ohbug/webpack-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.13 • Public • Published

    @ohbug/webpack-plugin

    npm npm bundle size Code style

    English | 简体中文

    Installation

    yarn add @ohbug/webpack-plugin --dev
    

    Usage

    const OhbugWebpackPlugin = require('@ohbug/webpack-plugin')
    
    const config = {
      // ...
      plugins: [
        new OhbugWebpackPlugin({
          apiKey: 'YOUR_API_KEY',
          appVersion: 'YOUR_APP_VERSION',
        }),
      ],
    }

    Options

    interface Options {
      apiKey: string
      appVersion: string
      appType?: string
      url?: string
    }

    apiKey

    Your project API key.

    appVersion

    The version number of your app. Conveniently locate the problem version.

    appType

    The type of your app. If your app's codebase contains different entries, but reports to the same service, you may need to add appType to indicate the type of entry for the source of the problem.

    url

    The url of the upload server

    Keywords

    none

    Install

    npm i @ohbug/webpack-plugin

    DownloadsWeekly Downloads

    48

    Version

    1.0.13

    License

    Apache-2.0

    Unpacked Size

    1.52 MB

    Total Files

    13

    Last publish

    Collaborators

    • yuebanla