Skip to content

Commit

Permalink
Follow up to 15535 (#15536)
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm authored Apr 30, 2019
1 parent bd88982 commit 379515e
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 6 deletions.
7 changes: 7 additions & 0 deletions packages/react-events/npm/drag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-events-drag.production.min.js');
} else {
module.exports = require('./cjs/react-events-drag.development.js');
}
File renamed without changes.
7 changes: 7 additions & 0 deletions packages/react-events/npm/focus.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-events-focus.production.min.js');
} else {
module.exports = require('./cjs/react-events-focus.development.js');
}
7 changes: 7 additions & 0 deletions packages/react-events/npm/hover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-events-hover.production.min.js');
} else {
module.exports = require('./cjs/react-events-hover.development.js');
}
7 changes: 7 additions & 0 deletions packages/react-events/npm/press.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-events-press.production.min.js');
} else {
module.exports = require('./cjs/react-events-press.development.js');
}
7 changes: 7 additions & 0 deletions packages/react-events/npm/swipe.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-events-swipe.production.min.js');
} else {
module.exports = require('./cjs/react-events-swipe.development.js');
}
12 changes: 6 additions & 6 deletions packages/react-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"files": [
"LICENSE",
"README.md",
"Press.js",
"Hover.js",
"Focus.js",
"Swipe.js",
"Drag.js",
"FocusScope.js",
"press.js",
"hover.js",
"focus.js",
"swipe.js",
"drag.js",
"focus-scope.js",
"index.js",
"build-info.json",
"cjs/",
Expand Down

0 comments on commit 379515e

Please sign in to comment.