Skip to content

build: bundle size improvements - #203

Merged
eszthoff merged 4 commits into
masterfrom
75-improve-bundling
Dec 20, 2019
Merged

build: bundle size improvements#203
eszthoff merged 4 commits into
masterfrom
75-improve-bundling

Conversation

@eszthoff

@eszthoff eszthoff commented Dec 17, 2019

Copy link
Copy Markdown
Contributor

Story: ONEUI-75

Comment thread README.md

An implementation example can be found in the example directory, along with instructions on how to run it.

## Testing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this no longer relevant? I can't see how OneUI tests are to be ran (apart from testing the application that implements OneUI)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is not relevant for README but for CONTRIBUTE. However just to list the scripts that are in package.json is quite redundant. If you think it has actual value, I can put it in CONTRIBUTE.md#Testing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok agree, if you want you can still add it to the paragraph you mention.

Comment thread README.md Outdated
};
```

The above RegEx will tell jest to exclude all node_modules (default behavior) but the ones listed in the array above.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please write jest =-> Jest

Comment thread README.md Outdated
].join('|');

const config = {
transformIgnorePatterns: [`[\\\/]node_modules[\\\/](?!(${librariesToRecompile})).*$`],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check this expression? For me, it looks weird

@eszthoff
eszthoff merged commit 81a6e26 into master Dec 20, 2019
@eszthoff
eszthoff deleted the 75-improve-bundling branch December 20, 2019 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants