Socket
Socket
Sign inDemoInstall

next-progressbar

Package Overview
Dependencies
320
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    next-progressbar

Add a progress bar to next.js


Version published
Weekly downloads
772
decreased by-34.8%
Maintainers
1
Install size
3.51 MB
Created
Weekly downloads
 

Readme

Source

Next.js + WebpackBar



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({
  progressBar: {
    profile: true
  }
  // rest of your next config
})

Keywords

FAQs

Last updated on 18 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc