Commit 90339b72 authored by ChrisZhao 赵思思's avatar ChrisZhao 赵思思

Init Commit

parent a98c2dc9
......@@ -23,6 +23,20 @@ const config = {
cache: {
enable: false // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
},
rn: {
output: {
iosSourceMapUrl: '', // sourcemap 文件url
iosSourcemapOutput: '../bundles/ios/main.map', // sourcemap 文件输出路径
iosSourcemapSourcesRoot: '', // 将 sourcemap 资源路径转为相对路径时的根目录
androidSourceMapUrl: '',
androidSourcemapOutput: '../bundles/android/app/src/main/assets/index.android.map',
androidSourcemapSourcesRoot: '',
ios: '../bundles/ios/index.jsbundle',
iosAssetsDest: '../bundles/ios',
android: '../bundles/android/app/src/main/assets/index.android.bundle',
androidAssetsDest: '../bundles/android/app/src/main/res'
},
},
mini: {
postcss: {
pxtransform: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment