Skip to content

Commit

Permalink
feat(build): adding legacy e6 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yawetse committed Mar 25, 2021
1 parent 3890145 commit 114ffd2
Show file tree
Hide file tree
Showing 26 changed files with 89,094 additions and 415 deletions.
3 changes: 2 additions & 1 deletion build/components.js
Expand Up @@ -37,7 +37,8 @@ export let componentMap = Object.assign({ Fragment, Suspense }, ReactDOMElements
*/
export function getBoundedComponents(options = {}) {
const { reactComponents, boundedComponents = [] } = options;
if (advancedBinding || options.advancedBinding) {
if ((typeof options.advancedBinding === 'boolean' && options.advancedBinding) || (typeof options.advancedBinding === 'undefined' &&
advancedBinding)) {
return Object.assign({}, reactComponents, boundedComponents.reduce((result, componentName) => {
result[componentName] = reactComponents[componentName].bind(this);
return result;
Expand Down
3 changes: 2 additions & 1 deletion dist/index.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.cjs.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/index.cjs.server.js
Expand Up @@ -2553,7 +2553,8 @@ let componentMap$1 = Object.assign({ Fragment: React.Fragment, Suspense: React.S
*/
function getBoundedComponents$1(options = {}) {
const { reactComponents, boundedComponents = [] } = options;
if (advancedBinding || options.advancedBinding) {
if ((typeof options.advancedBinding === 'boolean' && options.advancedBinding) || (typeof options.advancedBinding === 'undefined' &&
advancedBinding)) {
return Object.assign({}, reactComponents, boundedComponents.reduce((result, componentName) => {
result[componentName] = reactComponents[componentName].bind(this);
return result;
Expand Down
3 changes: 2 additions & 1 deletion dist/index.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/index.esm.server.js
Expand Up @@ -2518,7 +2518,8 @@ let componentMap$1 = Object.assign({ Fragment, Suspense }, ReactDOMElements, win
*/
function getBoundedComponents$1(options = {}) {
const { reactComponents, boundedComponents = [] } = options;
if (advancedBinding || options.advancedBinding) {
if ((typeof options.advancedBinding === 'boolean' && options.advancedBinding) || (typeof options.advancedBinding === 'undefined' &&
advancedBinding)) {
return Object.assign({}, reactComponents, boundedComponents.reduce((result, componentName) => {
result[componentName] = reactComponents[componentName].bind(this);
return result;
Expand Down

0 comments on commit 114ffd2

Please sign in to comment.