We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a44051 commit a839941Copy full SHA for a839941
packages/taro-platform-harmony-cpp/src/program/vite/inject-env.ts
@@ -5,7 +5,8 @@ import type * as BabelCore from '@babel/core'
5
import type { PluginOption } from 'vite'
6
import type Harmony from '..'
7
8
-export default function (platform: Harmony): PluginOption {
+export default function (this: Harmony): PluginOption {
9
+ const platform = this
10
const packageName = '@tarojs/taro'
11
const bindingName = 'Taro'
12
const businessId = platform.getConfig().defineConstants?.LOCATION_APIKEY?.replace(/^['"]|['"]$/g, '')
0 commit comments