mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Initial build of ReactTransitionGroup
This builds `ReactTransitionGroup` with it's own copy of `React`, which it total clownshoes. This should be technically usable, but definitely should not be used in any production environment.
This commit is contained in:
@@ -54,6 +54,7 @@ module.exports = function(grunt) {
|
||||
|
||||
grunt.registerTask('build:basic', ['jsx:debug', 'browserify:basic']);
|
||||
grunt.registerTask('build:transformer', ['jsx:debug', 'browserify:transformer']);
|
||||
grunt.registerTask('build:transitions', ['jsx:debug', 'browserify:transitions']);
|
||||
grunt.registerTask('build:min', ['jsx:release', 'browserify:min']);
|
||||
grunt.registerTask('build:test', [
|
||||
'jsx:jasmine',
|
||||
@@ -71,6 +72,7 @@ module.exports = function(grunt) {
|
||||
'jsx:debug',
|
||||
'browserify:basic',
|
||||
'browserify:transformer',
|
||||
'browserify:transitions',
|
||||
'jsx:release',
|
||||
'browserify:min',
|
||||
'copy:react_docs',
|
||||
|
||||
@@ -76,8 +76,19 @@ var transformer = {
|
||||
after: [simpleBannerify]
|
||||
};
|
||||
|
||||
var transitions = {
|
||||
entries: [
|
||||
'./build/modules/ReactTransitionGroup.js'
|
||||
],
|
||||
outfile: './build/react-transitiongroup.js',
|
||||
debug: false,
|
||||
standalone: 'ReactTransitionGroup',
|
||||
after: [simpleBannerify]
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
basic: basic,
|
||||
min: min,
|
||||
transformer: transformer
|
||||
transformer: transformer,
|
||||
transitions: transitions
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user