qrcode-dev-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

qrcode-dev-webpack-plugin

display qrcode when start webpack dev server

usage

npm install qrcode-dev-webpack-plugin -D
# or
yarn add qrcode-dev-webpack-plugin -D
const QRcodeWebpackPlugin = require("qrcode-dev-webpack-plugin");

module.exports = {
    mode: "development",
    entry: "./index.js",
    devServer: {
        port: "8888",
    },
    plugins: [new QRcodeWebpackPlugin()],
};

options

param description type required default
size qrcode image size "small" | "large" false "small"

example

example

license

MIT

Package Sidebar

Install

npm i qrcode-dev-webpack-plugin

Weekly Downloads

8

Version

0.0.4

License

MIT

Unpacked Size

6.53 kB

Total Files

6

Last publish

Collaborators

  • maxinpeng