New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rollup-plugin-loading

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-loading

A Rollup plugin that shows a nice spinner when building the bundle

latest
Source
npmnpm
Version
1.1.5
Version published
Maintainers
1
Created
Source

rollup-plugin-loading

:truck: A Rollup plugin that shows a nice spinner when building the bundle

install

npm i -D rollup-plugin-loading

usage

import loading from 'rollup-plugin-loading'

export default {
  input: 'index.js',
  output: {
    file: 'bundle.js',
    format: 'esm'
  },
  plugins: [ loading() ]
}

api

function loading(options?: Options): HookConfig

object Options

spinner?: string
default: hamburger
spinner name: https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json

color?: string
default: red
spinner color: black red green yellow blue magenta cyan white gray

indent?: number
default: 4
number of spaces before the spinner

license

Mozilla Public License 2.0

Keywords

rollup

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

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