project-manager-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

webpack plugin for project-manager

send webpack dev url and outpath to project-manager

Install

npm install project-manager-webpack-plugin --save-dev

Usage

import ProjectManagerWebpackPlugin from "project-manager-webpack-plugin";

const webpackConfig = {
  //...
  plugins: [
    new ProjectManagerWebpackPlugin({
      // send dev host and port
      devInfo: () => ({
        host: "0.0.0.0",
        port: 3000,
      }),
      // optional, send dist info
      distInfo: () => ({
        version: "1.0.0",
        name: "name",
      }),
    }),
  ],
};

Changelog

2024-01-16 v1.0.10 emit dist info 2023-04-14 v1.0.7 support custom server id

Readme

Keywords

none

Package Sidebar

Install

npm i project-manager-webpack-plugin

Weekly Downloads

1

Version

1.0.11

License

ISC

Unpacked Size

4.36 kB

Total Files

4

Last publish

Collaborators

  • npmyoog