1.1.5 • Published 4 years ago

rollup-plugin-loading v1.1.5

Weekly downloads
2
License
MPL-2.0
Repository
github
Last release
4 years ago

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

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago