mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
@@ -16,18 +16,15 @@ module.exports = function() {
|
||||
config.globalTransforms = config.globalTransforms || [];
|
||||
config.plugins = config.plugins || [];
|
||||
config.after = config.after || [];
|
||||
config.paths = config.paths || [];
|
||||
|
||||
// create the bundle we'll work with
|
||||
var entries = grunt.file.expand(config.entries);
|
||||
var paths = grunt.file.expand(config.paths);
|
||||
|
||||
// Extract other options
|
||||
var options = {
|
||||
entries: entries,
|
||||
debug: config.debug, // sourcemaps
|
||||
standalone: config.standalone, // global
|
||||
paths: paths,
|
||||
};
|
||||
|
||||
var bundle = browserify(options);
|
||||
|
||||
Reference in New Issue
Block a user