feat: add share page

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-11-21 12:49:41 +08:00
parent 1e8601d148
commit 1c2f5baa20
11 changed files with 367 additions and 282 deletions

View File

@@ -8,7 +8,7 @@ const config = {
'828': 1.81 / 2
},
sourceRoot: 'src',
outputRoot: 'dist',
outputRoot: `dist/${process.env.TARO_ENV}`,
plugins: {
babel: {
sourceMap: true,
@@ -94,7 +94,7 @@ const config = {
}
}
module.exports = function (merge) {
module.exports = function(merge) {
if (process.env.NODE_ENV === 'development') {
return merge({}, config, require('./dev'))
}