1.0.5 • Published 10 months ago

@satis-sun/modularity-plugin v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

modularity-plugin

简介

自动配置工程模块化

使用方式

1.在项目工程hvigor目录中的hvigor-config.json5文件中配置

{
  "dependencies": {
    //1:配置安装插件
    "@satis-sun/modularity-plugin": "^1.0.5"
  }
}

2.配置项目工程根目录的hvigorfile.ts文件(不是module下的hvigorfile.ts)

import { hspTasks } from '@ohos/hvigor-ohos-plugin';
//1:导入插件包
import {ModularityPlugin } from "@satis-sun/modularity-plugin"

export default {
    system: hspTasks,
    plugins:[ModularityPlugin()] 
}
1.0.5

10 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago