Skip to content
Easily implement a module nomodule index.html
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
changelog.md
package.json
yarn.lock

README.md

Webpack module-nomodule plugin

npm version

Why

This automates the generation of module-nomodule scripts aswell as the safari fix.

This project relies on html-webpack-plugin

Safari fix

module-nomodule

How to use

The only thing you need to do is return two build steps in your webpack and forward this to this plugin like this:

  • for legacy new WebpackModuleNomodulePlugin({ mode: 'legacy' });
  • for modern new WebpackModuleNomodulePlugin({ mode: 'modern' });

The rest will be handled for you!

Example

https://github.com/JoviDeCroock/POC-ModularLegacyBuild

Installation

npm install --save-dev webpack-module-nomodule-plugin

You can’t perform that action at this time.