JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 41
  • Score
    100M100P100Q38506F
  • License Apache-2.0

Rollup plugins for use in Minna UI projects.

Package Exports

  • @minna-ui/rollup-plugins

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@minna-ui/rollup-plugins) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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