fix: 🐛 uniapp provider undefined

This commit is contained in:
“chenhuachun”
2025-03-01 09:02:44 +08:00
parent 6f500c8699
commit e150d60e32

View File

@@ -9,12 +9,13 @@ export default createUniappViteConfig({
plugins: [
createDevTools({
// staticBase: basePath,
devMode: false,
devMode: true,
pluginNodeModulesDir: '../../node_modules'
}),
!process.env.PREVIEW ? uni() : undefined
],
alias: {
'@vtj/uni-app': resolve('../../platforms/uni-app/src/index.ts'),
'axios/lib/core/settle': resolve(
'../../node_modules/axios/lib/core/settle'
),