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
    `;
  },
});

Dependents (0)

Package Sidebar

Install

npm i webpack-plugin-modify-entrypoints

Weekly Downloads

86

Version

0.1.2

License

MIT

Unpacked Size

8.85 kB

Total Files

11

Last publish

Collaborators

  • webdeveric