Skip to content

Webpack plugin for reducing compilation time impatience

License

Notifications You must be signed in to change notification settings

Arturszott/webpack-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Quotes plugin

Reached already the maximum speed of webpack? Try psychology.

Reduce the feeling of slow compilation by providing great meaningful quote to think about.

Image of Webpack Quote

Build Status

Instalation

In your webpack config you have to add a plugin to the configuration:

if (environment === 'dev') {
    config.plugins.push(new WebpackQuotesPlugin({ notifications: true }));
} 

Configuration

Plugin is instantiated by default with the following config which can be overwritten:

{
    notifications: false,
    additionalQuotes: []
    secondsToApology: 20
}

Parameter secondsToApology will be used to provide a time point after which webpack will add an apology for the long build.

Image of Webpack Apology

Every additional quote should be listed in the following structure:

{
    "text": "“quote text”",
    "author": "quote author"
}

Contributions

If you have some more ideas how we can enrich the experience you're welcome to create the PR.

Have a nice day!

About

Webpack plugin for reducing compilation time impatience

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published