Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Re-enabled UMD build for react-is
  • Loading branch information
bvaughn committed Feb 11, 2018
commit a06e6f738f6bdbb74f04bca5037e2a232eb7ebd5
3 changes: 2 additions & 1 deletion packages/react-is/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"LICENSE",
"README.md",
"index.js",
"cjs/"
"cjs/",
"umd/"
]
}
2 changes: 1 addition & 1 deletion scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const bundles = [
/******* React Is *******/
{
label: 'react-is',
bundleTypes: [NODE_DEV, NODE_PROD],
bundleTypes: [NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
moduleType: ISOMORPHIC,
entry: 'react-is',
global: 'ReactIs',
Expand Down
14 changes: 14 additions & 0 deletions scripts/rollup/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,20 @@
"packageName": "react-is",
"size": 1559,
"gzip": 624
},
{
"filename": "react-is.development.js",
"bundleType": "UMD_DEV",
"packageName": "react-is",
"size": 3760,
"gzip": 1086
},
{
"filename": "react-is.production.min.js",
"bundleType": "UMD_PROD",
"packageName": "react-is",
"size": 1641,
"gzip": 687
}
]
}
1 change: 1 addition & 0 deletions scripts/rollup/validate/eslintrc.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
// UMD wrapper code
// TODO: this is too permissive.
// Ideally we should only allow these *inside* the UMD wrapper.
exports: true,
module: true,
define: true,
require: true,
Expand Down