/**
 * Copyright (c) 2025 Huawei Technologies Co., Ltd.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE-MIT file in the root directory of this source tree.
 */

import { appTasks } from '@ohos/hvigor-ohos-plugin';
import { createRNOHProjectPlugin } from '@rnoh/hvigor-plugin';

export default {
  system: appTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
  plugins: [
    createRNOHProjectPlugin({
      nodeModulesPath: "../ReactProject/node_modules",
      bundler: {
        config: "../ReactProject/metro.config.js",
        bundleOutput: "./entry/src/main/resources/rawfile/bundle.harmony.js",
        assetsDest: "./entry/src/main/resources/rawfile/assets",
      }
    })
  ]
}