FormidableLabs/requirepack

Name: requirepack

Owner: Formidable

Description: Webpack + RequireJS interoperable shared libraries

Created: 2015-09-27 22:41:40.0

Updated: 2017-12-01 16:17:17.0

Pushed: 2016-01-22 02:28:10.0

Homepage: null

Size: 88

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RequirePack

Webpack + RequireJS shared library interoperability!

Travis Status Coverage Status

Sauce Test Status

Webpack and RequireJS both can consume AMD code straight up. Which means if you are in a transitional / complex scenario where you want some code to load with Webpack and other code to load with RequireJS from the same code base you can!

And, Webpack and RequireJS both have facilities for sharing libraries across entry points. Unfortunately, if loading both RequireJS and Webpack entry points on the same page, the applications cannot natively use the same shared library.

RequirePack bridges this gap by providing an interopability layer to allow a Webpack-generated shared library to be consumaed by RequireJS entry points.

Getting Started

Install:

m install --save requirepack

Configure:

TODO(8): Document Configuration

Development

Ports various servers run on:

Topics

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.