Plugin can be used with both
import { WebpackManifestPlugin } from "webpack-manifest-plugin";
and
const { WebpackManifestPlugin } = require("webpack-manifest-plugin");
Actual Behavior / Situation
WebpackManifestPlugin is not exported when using import, not shown in index.d.ts of course.
Modification Proposal
Use esm syntax named export in source code, then compile to cjs if necessary
Expected Behavior / Situation
Plugin can be used with both
import { WebpackManifestPlugin } from "webpack-manifest-plugin";
andconst { WebpackManifestPlugin } = require("webpack-manifest-plugin");
Actual Behavior / Situation
WebpackManifestPlugin
is not exported when using import, not shown in index.d.ts of course.Modification Proposal
Use esm syntax named export in source code, then compile to cjs if necessary