1.0.0 • Published 3 years ago

@ttungbmt/next-progressbar v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

next-progressbar

Installation

yarn add next-progressbar

Usage

Edit your next config :

// 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.

For example, you can enable the profiler :

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

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

3 years ago