webpack-serve-certificate-creator
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

WebpackServeCertificateCreator

Node.js CI

Install

pnpm add webpack-serve-certificate-creator -D
npm install webpack-serve-certificate-creator -D

Usage

Import the plugin in your webpack config.

import { WebpackServeCertificateCreator } from 'webpack-serve-certificate-creator';

Add the plugin to your plugins.

{
  plugins: [
    new WebpackServeCertificateCreator({
      // This dir should be added to .gitignore
      outDir: '.certificate-cache',
      // Defaults to `localhost`
      commonName: 'your.hostname.example.com',
      options: {
        days: 365,
        keySize: 4096,
      },
    }),
  ];
}

/webpack-serve-certificate-creator/

    Package Sidebar

    Install

    npm i webpack-serve-certificate-creator

    Weekly Downloads

    358

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    10.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • webdeveric