1.0.3-beta.2 • Published 7 months ago

vite-plugin-support-file-protocol v1.0.3-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

vite-plugin-support-file-protocol

npm version npm downloads bundle JSDocs License

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

License

MIT License © 2023-PRESENT POfeiY

1.0.3-beta.2

7 months ago

1.0.3-beta.1

7 months ago

1.0.2

11 months ago

1.0.1

11 months ago