@minna-ui/rollup-plugins

0.21.0 • Public • Published

NPM version Licence

@minna-ui/rollup-plugins

Rollup plugins for use in Minna UI projects.

Included plugins:

  • devserver — A simple server for development. In situations where you're not using a full-blown web app framework like sapper it's still necessary to serve the web app while in development. This plugin takes care of that in a generic way. No fancy stuff like hot-reloading modules but it will hot-refresh the page after changes.
  • makeCss — Process imported styles with PostCSS and optionally remove unused CSS with Purgecss and write it to disk.
  • makeHtml — Minimal page builder when you don't want to use a whole framework like sapper. Process a HTML template and write the results to disk.
  • postcss — Process imported styles with PostCSS and optionally remove unused CSS with Purgecss. It does not write files to disk itself so it's ideal for systems like sapper which have their own file handling logic.

Additional helpers:

  • catchErr — Simple error handler for node API methods with callbacks.
  • gitDescribe — Get the result from the git decribe command which is useful when used together with rollup-plugin-replace to programatically inject an app release/version.

Usage

TODO: Write me :)

Licence

@minna-ui/rollup-plugins is part of Minna UI, an Apache-2.0 licensed open source project. See LICENCE.


© 2019 We Are Genki

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.21.01latest
0.22.0-next.2350next

Version History

VersionDownloads (Last 7 Days)Published
0.22.0-next.2350
0.22.0-next.2280
0.22.0-next.1930
0.22.0-next.1900
0.22.0-next.770
0.21.01
0.20.00
0.19.10
0.19.00
0.18.20
0.18.10
0.18.00
0.17.00

Package Sidebar

Install

npm i @minna-ui/rollup-plugins

Weekly Downloads

1

Version

0.21.0

License

Apache-2.0

Unpacked Size

33 kB

Total Files

11

Last publish

Collaborators

  • maxmilton