NativeScript Hook Debug Production
基于调试或生产构建选择文件的 NativeScript 应用程序钩子
npm i --save nativescript-hook-debug-production

NativeScript-hook-debug-production

基于调试或生产构建选择文件的 NativeScript 应用程序钩子

许可证

此插件由 Marek Maszay 根据 MIT 许可证授权

安装

tns plugin add nativescript-hook-debug-production

用法

根据您是否希望将文件放在调试中,设置文件名为 filename.debug.extension 或发布版本为 filename.production.extension

在代码中包含它为 filename.extension