$ npm install miniapp-builder-shared
It will filter native miniapp pages and return a need copy native page files list.
It will return a vaild app config for miniapp.
It will export the following methods:
relativeModuleResolvenormalizeOutputFilePathgetRelativePathgetDepPathabsoluteModuleResolvegetPlatformExtensionsisNativePageremoveExtgetHighestPriorityPackageJSONgetBundlePathIt will return miniapp platform and suffix name correspondence.
It will return miniapp related constants
It will install npm for native miniapp automatically
© 2010 - cnpmjs.org x YWFE | Home | YWFE