Skip to content

Generate a random fact at the end of your build. Just because.

Notifications You must be signed in to change notification settings

Rhym/webpack-random-fact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Random Fact Plugin

Generate a random fact at the end of your build. Just because.

This is just a glorified wrapper for my node-random-fact repo.

Install

yarn add webpack-random-fact --dev

Usage

In your webpack config, add the plugin to the plugins array. Who would have thunk it?

const WebpackRandomFactPlugin = require('webpack-random-fact');

module.exports = {
  //...
  plugins: [
    //...
    new WebpackRandomFactPlugin(),  
  ],
};

About

Generate a random fact at the end of your build. Just because.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published