1.0.5 • Published 2 years ago

@radpack/rollup-plugin v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@radpack/rollup-plugin

A rollup plugin for building libraries with radpack.

Documentation Logo

Installation

npm install --save-dev @radpack/rollup-plugin

Usage

import radpack from '@radpack/rollup-plugin';

export default {
  input: 'src/index.js',
  output: {
    dir: 'dist'
  },
  plugins: [
    radpack()
  ]
};

For more examples, check out the library examples.

Node

By default, this plugin is meant to build libraries for both client and server environments. If you have node specific code in your library, you will need to bypass rollup's default behavior for importing these modules. Example in issue #22.