@radpack/rollup-plugin

1.0.5 • Public • Published

@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.

/@radpack/rollup-plugin/

    Package Sidebar

    Install

    npm i @radpack/rollup-plugin

    Weekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    21.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • indexzero
    • asilvas
    • gingur