@radpack/rollup-plugin
v1.0.5
Published
Rapid Application Development Packaging Rollup Plugin
Downloads
29
Readme
@radpack/rollup-plugin
A rollup plugin for building libraries with radpack.
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.