scratch-blocks/shim/index.js
Ray Schamp 1ff45f5c77 Build separate vertical and horizontal modules
This allows separate imports for vertical and horizontal libraries, and gives a way to import the library outside of webpack.
2016-09-19 14:46:55 -04:00

17 lines
565 B
JavaScript

/**
* Webpack shim module
*
* Uses webpack imports-loader and exports-loader to provide the horizontal and
* vertical flavors of Blockly. All of the other files in this directory shim
* Blockly and goog between blockly_compressed_* and blocks_compressed*.
*
* Horizontal and Vertical export Blockly out of
* blockly_compressed_[horizontal, vertical] +
* blocks_compressed +
* blocks_compressed_[horizontal, vertical] +
* msg/messages
**/
module.exports = {
Horizontal: require('./horizontal'),
Vertical: require('./vertical')
};