UNPKG

@inertia-volt/vite

Version:

A simple Vite plugin for stripping PHP tags from JavaScript components.

14 lines (13 loc) 363 B
import { resolve } from 'path' import { defineConfig } from 'vite' export default defineConfig({ build: { lib: { // Could also be a dictionary or array of multiple entry points entry: resolve(__dirname, 'lib/index.ts'), name: 'Inertia Volt Vite plugin', // the proper extensions will be added fileName: 'index', }, }, })