tiktok-minis-manifest-plugin
v1.1.1
Published
tiktok-minis-manifest-plugin
Downloads
18
Maintainers
Keywords
Readme
MinisManifestPlugin 做啥
插件成功运行后,你的项目打包产物里会新增两个文件:
- minis.manifest.json: minis 前端项目资源描述文件,用于后续 Minis 平台侧进行资源产物下载和上传
- minis.config.json:minis 前端项目开发配置文件,平台会在 minis 发布更新阶段消费该文件内容,写入 minis meta config 字段中
HOW to Use MinisManifestPlugin
const { MinisManifestPlugin } = require("tiktok-minis-manifest-plugin");
// webpack config
{
plugins: [
// other plugins,
new MinisManifestPlugin({
/**
* If your project's build folder has a different name, replace "buildFolderName" with the appropriate name.
*/
buildFolderName: "build",
}),
];
}