1.0.3-beta.2 • Published 7 months ago
vite-plugin-support-file-protocol v1.0.3-beta.2
vite-plugin-support-file-protocol
Introduce
Support you webpage to be readed with the file protocol file://
in your browser
How to use it
npm install -D vite-plugin-support-file-protocol
In your vite.config.ts
you can use it like this:
import { defineConfig } from 'vite'
import { supportViteBuildBundleForFileProtocol } from 'vite-plugin-support-file-protocol'
export default defineConfig({
plugins: [supportViteBuildBundleForFileProtocol()]
})