feat: build mini app frontend pages
This commit is contained in:
1 parent
ca36409e41
commit
869376979c
84 files changed
+16922
-86
No files matched your search
@@ -0,0 +1,33 @@
|
||||
import { defineConfig } from '@tarojs/cli'
|
||||
|
||||
export default defineConfig(async () => ({
|
||||
projectName: 'hera-web',
|
||||
date: '2026-08-12',
|
||||
designWidth: 750,
|
||||
deviceRatio: {
|
||||
640: 2.34 / 2,
|
||||
750: 1,
|
||||
828: 1.81 / 2
|
||||
},
|
||||
sourceRoot: 'src',
|
||||
outputRoot: 'dist',
|
||||
plugins: ['@tarojs/plugin-framework-react'],
|
||||
defineConstants: {},
|
||||
copy: {
|
||||
patterns: [],
|
||||
options: {}
|
||||
},
|
||||
framework: 'react',
|
||||
compiler: 'webpack5',
|
||||
mini: {
|
||||
postcss: {
|
||||
pxtransform: {
|
||||
enable: true,
|
||||
config: {}
|
||||
},
|
||||
cssModules: {
|
||||
enable: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}))
|
||||
Reference in new issue
Block a user