@vitejs/plugin-basic-ssl
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@vitejs/plugin-basic-ssl npm

A plugin to generate untrusted certificates which still allows to access the page after proceeding a wall with warning.

In most scenarios, it is recommended to generate a secure trusted certificate instead and use it to configure server.https

Usage

// vite.config.js
import basicSsl from '@vitejs/plugin-basic-ssl'

export default {
  plugins: [
    basicSsl({
      /** name of certification */
      name: 'test',
      /** custom trust domains */
      domains: ['*.custom.com'],
      /** custom certification directory */
      certDir: '/Users/.../.devServer/cert'
    })
  ]
}

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    690,432
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    690,432
  • 1.0.2
    136,782
  • 1.0.1
    681,969
  • 1.0.0
    1
  • 0.1.2
    3,092
  • 0.1.1
    645

Package Sidebar

Install

npm i @vitejs/plugin-basic-ssl

Weekly Downloads

1,512,921

Version

1.1.0

License

MIT

Unpacked Size

1.19 MB

Total Files

9

Last publish

Collaborators

  • soda
  • vitebot
  • yyx990803
  • patak
  • antfu