You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
1.8 KiB
110 lines
1.8 KiB
const tags = require('./tags')
|
|
|
|
const {
|
|
getJson,
|
|
parseJson
|
|
} = require('./json')
|
|
|
|
const {
|
|
getH5Options,
|
|
getManifestJson,
|
|
getNetworkTimeout,
|
|
parseManifestJson
|
|
} = require('./manifest.js')
|
|
|
|
const {
|
|
getMainEntry,
|
|
getNVueMainEntry,
|
|
parseEntry,
|
|
parsePages,
|
|
getPagesJson,
|
|
parsePagesJson
|
|
} = require('./pages')
|
|
|
|
const {
|
|
md5,
|
|
hasOwn,
|
|
hasModule,
|
|
hashify,
|
|
camelize,
|
|
hyphenate,
|
|
removeExt,
|
|
normalizePath,
|
|
getComponentName,
|
|
convertStaticStyle,
|
|
getTemplatePath
|
|
} = require('./util')
|
|
|
|
const {
|
|
getFlexDirection,
|
|
getPlatformProject,
|
|
isSupportSubPackages,
|
|
getPlatforms,
|
|
getPlatformScss,
|
|
getPlatformSass,
|
|
runByHBuilderX,
|
|
isInHBuilderX,
|
|
isInHBuilderXAlpha,
|
|
getPlatformExts,
|
|
getPlatformTarget,
|
|
getShadowCss,
|
|
getPlatformCssVars,
|
|
getPlatformCssnano,
|
|
getShadowTemplate,
|
|
jsPreprocessOptions,
|
|
cssPreprocessOptions,
|
|
htmlPreprocessOptions,
|
|
nvueJsPreprocessOptions,
|
|
nvueCssPreprocessOptions,
|
|
nvueHtmlPreprocessOptions,
|
|
getPlatformGlobal
|
|
} = require('./platform')
|
|
|
|
module.exports = {
|
|
md5,
|
|
tags,
|
|
hasOwn,
|
|
getJson,
|
|
parseJson,
|
|
hashify,
|
|
hasModule,
|
|
camelize,
|
|
hyphenate,
|
|
removeExt,
|
|
normalizePath,
|
|
parseEntry,
|
|
parsePages,
|
|
getH5Options,
|
|
getMainEntry,
|
|
getNVueMainEntry,
|
|
getPagesJson,
|
|
getManifestJson,
|
|
getNetworkTimeout,
|
|
runByHBuilderX,
|
|
isInHBuilderX,
|
|
isInHBuilderXAlpha,
|
|
isSupportSubPackages,
|
|
getPlatforms,
|
|
getFlexDirection,
|
|
getPlatformScss,
|
|
getPlatformSass,
|
|
getPlatformExts,
|
|
getPlatformTarget,
|
|
getPlatformProject,
|
|
getShadowCss,
|
|
getPlatformCssVars,
|
|
getPlatformCssnano,
|
|
getShadowTemplate,
|
|
parsePagesJson,
|
|
parseManifestJson,
|
|
getComponentName,
|
|
convertStaticStyle,
|
|
getTemplatePath,
|
|
jsPreprocessOptions,
|
|
cssPreprocessOptions,
|
|
htmlPreprocessOptions,
|
|
nvueJsPreprocessOptions,
|
|
nvueCssPreprocessOptions,
|
|
nvueHtmlPreprocessOptions,
|
|
getPlatformGlobal
|
|
}
|
|
|