$ npm install miniapp-builder-shared
Separate native miniapp pages, it will return native page list and rax page list.
Normalize static config to parse subpackages mode.
It will return a valid plugin 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