New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uniapp2wxpack

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniapp2wxpack - npm Package Compare versions

Comparing version

to
1.1.3

4

package.json
{
"name": "uniapp2wxpack",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -11,3 +11,3 @@ "main": "./dist/index.js",

"bin": {
"uniapp2wxpack": "./src/index.js"
"uniapp2wxpack": "./dist/index.js"
},

@@ -14,0 +14,0 @@ "files": [

@@ -25,4 +25,4 @@ ## uniapp2wxpack

+ 会在项目中创建projectToSubPackageConfig.js
+ 创建mainWeixinMp目录(可根据会在项目中创建projectToSubPackageConfig.js修改)
+ 在package.json中会生成dev:mp-weixin-pack和build:mp-weixin-pcak的命令
+ 创建mainWeixinMp目录(可根据projectToSubPackageConfig.js的配置修改目录名)
+ 在package.json中会生成dev:mp-weixin-pack和build:mp-weixin-pack的命令

@@ -92,3 +92,3 @@ #### 概念

// 微信原生小程序目录
mainWeixinMpPath: './mainWeixinMp',
mainWeixinMpPath: 'mainWeixinMp',
// uni项目输出的分包在微信原生小程序中的路径

@@ -121,3 +121,4 @@ subPackagePath: 'uniSubpackage'

#### @wxResource
特殊的目录别名,此别名同时指向2个资源
特殊的目录别名,此别名同时指向2个资源
@wxResource只能在__uniRequireWx和__uniWxss中使用
+ 指向src/wxresource

@@ -124,0 +125,0 @@ + 指向构建后的原生小程序项目中的uni解耦包目录