build-plugin-teamix
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

build-plugin-teamix

build-scripts 插件,支持基于teamix的业务开发。

使用

"plugins": [
  "build-plugin-react-app",
  "build-plugin-teamix"
]

在项目目录的build.json中配置该插件。

build.json 配置项

assetsInfo

布尔值,默认值为 false。若项目采用 git 管理,会在构建产物中注入 git 信息,可通过 window.__assets_info__ 获取相关信息。

removeConsoleExcludeMethod(1.2.0版本添加)

数组,默认值为 []。用于构建时移除所有 console.* 调用,可通过该配置项设置免于移除的 console.* 方法。

/build-plugin-teamix/

    Package Sidebar

    Install

    npm i build-plugin-teamix

    Weekly Downloads

    4

    Version

    2.1.5

    License

    MIT

    Unpacked Size

    48.6 kB

    Total Files

    17

    Last publish

    Collaborators

    • yofine
    • purple-force