fbjs-scripts
v3.0.1
Published
A bundle of helpful scripts used in projects consuming fbjs.
Downloads
819,103
Readme
fbjs-scripts
This is a collection of tools and scripts intended to be used in conjunction with fbjs
. Previously these were shipped as a part of fbjs
.
// before ([email protected])
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs/scripts/babel/dev-expression');
// after (fbjs, [email protected])
var invariant = require('fbjs/lib/invariant');
var devExpression = require('fbjs-scripts/babel/dev-expression');
Why?
This ensures that production code consuming fbjs
library code does not need to install script dependencies, unless you explicitly use them via the fbjs-scripts
package.