Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 498 Bytes

File metadata and controls

24 lines (19 loc) · 498 Bytes

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.

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'
            }),
        ],
    };
});