Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucleray/next-progressbar

Add a progress bar to next.js
https://github.com/lucleray/next-progressbar

next next-plugins nextjs progressbar webpackbar

Last synced: 10 days ago
JSON representation

Add a progress bar to next.js

Awesome Lists containing this project

README

        

> ⚠️ This package has been deprecated because it can slow down your builds. Upgrade to Next.js 9+ to get Build Output Statistics out-of-the-box.

# next-progressbar



Next.js +
WebpackBar








### Installation

```
yarn add next-progressbar
```

### Usage

Edit your next config :

```js
// next.config.js
const withProgressBar = require('next-progressbar')

module.exports = withProgressBar({
// rest of your next config
})
```

### Configuration

You can configure this plugin. The options are passed down to webpackbar.

For more information, [have a look at the options available for webpackbar](https://github.com/nuxt/webpackbar#options).

For example, you can enable the profiler :





```js
// next.config.js
const withProgressBar = require('next-progressbar')

module.exports = withProgressBar({
progressBar: {
profile: true
}
// rest of your next config
})
```