0.0.2 • Published 4 years ago
youpinyao-weapp-webpack v0.0.2
weapp webpack
安装
npm i youpinyao-weapp-webpack -D
调试
weapp dev
构建
weapp build
配置文件
.weapp.json
{
// 项目目录
"context": "src",
// 输出目录
"output": "dist",
// npm模块同步,npm路径 => output路径
"modules": {
"vant-weapp/dist": "vant-weapp"
}
}