forked from wechat-miniprogram/weui-miniprogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpflow.config.js
35 lines (35 loc) · 1.12 KB
/
mpflow.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
appId: 'wx69718f08e51eebf9',
projectName: '小程序自定义组件',
app: (mode) => (mode !== 'production' ? 'src/app' : undefined),
pages: (mode) => (mode !== 'production' ? undefined : ['src/components/index']),
sourceMap: (mode) => mode !== 'production',
compileType: 'miniprogram',
outputDir: 'miniprogram_dist',
plugins: ['@mpflow/plugin-babel', '@mpflow/plugin-typescript', '@mpflow/plugin-css'],
settings: {
urlCheck: true,
es6: false,
postcss: false,
preloadBackgroundData: false,
minified: false,
newFeature: true,
coverView: true,
nodeModules: true,
autoAudits: false,
showShadowRootInWxmlPanel: true,
scopeDataCheck: false,
checkInvalidKey: true,
checkSiteMap: true,
uploadWithSourceMap: true,
compileHotReLoad: false,
babelSetting: {
ignore: [],
disablePlugins: [],
outputPath: ''
},
useIsolateContext: true,
useCompilerModule: false,
userConfirmedUseCompilerModuleSwitch: false
}
}