feat(runner): updated the way runner works

This commit is contained in:
Haoyu Xu
2023-01-17 20:29:26 -05:00
parent 4fa886be90
commit 61e5ffd214
8 changed files with 118 additions and 73 deletions

View File

@@ -1,6 +1,11 @@
import { defineConfig } from 'vite'
import path from 'path'
import data from './runner'
import getConfig from './libs/config.js'
const data = {
config: getConfig(__dirname),
OPERATOR_NAME: process.argv[3],
}
// https://vitejs.dev/config/
export default defineConfig({