@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

Package Sidebar

Install

npm i @minna-ui/rollup-plugins

Weekly Downloads

0

Version

0.21.0

License

Apache-2.0

Unpacked Size

33 kB

Total Files

11

Last publish

Collaborators

  • maxmilton