1.0.3-beta.2 • Published 8 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

1.0.3-beta.1

8 months ago

1.0.2

1 year ago

1.0.1

1 year ago