0.3.4 • Published 1 year ago

@thingjs/xplugin-plugin v0.3.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@thingjs/xplugin-plugin

xplugin-plugin

xplugin-plugin is the Core Component for ThingJS-X Plug-in Development

Install

Using npm:

$ npm i -g npm
$ npm install --save @thingjs/xplugin-plugin

Usage

该插件包内提供的插件为 ThingJS-X 插件开发的辅助功能插件, 目前已提供了 BundlePlugin ,该插件用于插件描述文件的生成

//BundlePlugin 插件使用
//webpack.config.js 中直接引用

/**
* 在打包完成后该插件会进行解析生成插件资源描述文件 bundle.json
* 该描述文件是对插件的信息描述
* */


//...
//在webpack.config.js 引入插件
const BundlePlugin = require("uino-xplugin-plugin");
//在插件内初始化该插件即可
plugins: [
    new BundlePlugin(),
]
# Require 
```json
    {
        "requiredNodeVersion": "^16.17.0 || >= 16.15.1",
        "requiredNpmVersion": "^8.15.0 || >= 8.11.0"
    } 

    //npm rm -rf node_modules
0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago