rijs.export

0.0.9 • Public • Published

Ripple | Export

Coverage Status Build Status

Combines all resources under the resources directory into a single index.js file. This is so you can export and import a bundle of resources from separate repos by simplying requireing them. Note that this is not the same bundling, since function resources are linked with requires, such that you could subsequently browserify the output (index.js) to produce a client bundle.

import buttons from 'ux-button'
import inputs from 'ux-input'
import rijs from 'rijs'

ripple = rijs({ .. })
  .resource(buttons)
  .resource(inputs)

Running rijs.export (defaults to rijs.export dist/resources), likely as part of a npm run build would place the index.js file under dist/resources/index.js. You then just need to point the main field in your package.json to point this file so it can be required.

Readme

Keywords

none

Package Sidebar

Install

npm i rijs.export

Weekly Downloads

0

Version

0.0.9

License

pemrouz.mit-license.org

Last publish

Collaborators

  • pemrouz