webpack-plugin-modify-entrypoints

0.1.2 • Public • Published

webpack-plugin-modify-entrypoints

Node.js CI

Install

pnpm add webpack-plugin-modify-entrypoints -D

Example usage

Import plugin in your webpack config.

import { ModifyEntryPoints } from 'webpack-plugin-modify-entrypoints';

Add this to your plugins array.

new ModifyEntryPoints({
  modify(source, details) {
    return `
      // Before
      ${source}
      // After
    `;
  },
});

Package Sidebar

Install

npm i webpack-plugin-modify-entrypoints

Weekly Downloads

35

Version

0.1.2

License

MIT

Unpacked Size

8.85 kB

Total Files

11

Last publish

Collaborators

  • webdeveric