Skip to content

Vite plugin for Smallstep certificates or any site.crt/site.key pair

Notifications You must be signed in to change notification settings

ouestdarq/vite-plugin-smallstep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite Plugin Smallstep

Plugin runs an async function on the config method, awaiting the fs.readFileSync on CRT/KEY pair waiting to be read correctly.

Based on Smallstep Docker example

Usage

npm install proxymurder/vite-plugin-smallstep
// vite.config.js

import smallstep from 'vite-plugin-smallstep';
export default defineConfig(async ({ mode }) => {
    return {
        plugins: [
            smallstep({
                steppath: STEPPATH // default is '/home/step'
            }),
        ],
    };
});

About

Vite plugin for Smallstep certificates or any site.crt/site.key pair

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published