Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 413 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 413 Bytes

vite-plugin-ejs-importer

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()],
})