a plugin for vite that allows importing .ejs
files as strings
install:
# for yarn
yarn add -D vite-plugin-ejs-importer
# for npm
npm install -D vite-plugin-ejs-importer
usage:
import { defineConfig } from 'vite'
import { VitePluginEJSImporter } from 'vite-plugin-ejs-importer'
export default defineConfig({
plugins: [VitePluginEJSImporter()],
})