chore: upgrade to vite@3 & add desc for miniprogram

This commit is contained in:
YunYouJun
2022-08-08 01:52:44 +08:00
parent c587928ac4
commit eb06ad91a7
10 changed files with 874 additions and 900 deletions

View File

@@ -2,9 +2,11 @@
import fs from 'fs'
import path from 'path'
import consola from 'consola'
import url from "url";
import type { Recipe, RecipeItem } from '~/types'
import { generateEmojisFromStuff } from '~/utils'
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
const recipeCsvFile = path.resolve(__dirname, '../src/data/recipe.csv')
const recipeJsonFile = path.resolve(__dirname, '../src/data/recipe.json')