Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1589

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Version Packages #1589

merged 1 commit into from
Mar 30, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 25, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@aws-amplify/ui-react@2.12.0

Minor Changes

  • #1569 6d3981c4a Thanks @zchenwei! - build: setting up Rollup for bundling

    Both @aws-amplify/ui-react and @aws-amplify/ui cannot be tree shaken before because we bundle it in a wrong way. With preserveModule in Rollup, we make them tree-shakeble friendly.

    With webpack, we can see tree shaking is taking effect now

    // index.tsx
    import * as React from 'react';
    import ReactDOM from 'react-dom';
    import '@aws-amplify/ui-react/styles.css';
    
    import { App } from './App';
    
    ReactDOM.render(<App />, document.getElementById('root'));
    
    // App.tsx
    import * as React from 'react';
    import { Loader } from '@aws-amplify/ui-react';
    
    export const App = () => {
      return <Loader />;
    };

    main.js size
    | Before | After |
    | ----------- | ----------- |
    | 1.7M | 161.1k |

Patch Changes

@aws-amplify/ui@3.4.0

Minor Changes

  • #1569 6d3981c4a Thanks @zchenwei! - build: setting up Rollup for bundling

    Both @aws-amplify/ui-react and @aws-amplify/ui cannot be tree shaken before because we bundle it in a wrong way. With preserveModule in Rollup, we make them tree-shakeble friendly.

    With webpack, we can see tree shaking is taking effect now

    // index.tsx
    import * as React from 'react';
    import ReactDOM from 'react-dom';
    import '@aws-amplify/ui-react/styles.css';
    
    import { App } from './App';
    
    ReactDOM.render(<App />, document.getElementById('root'));
    
    // App.tsx
    import * as React from 'react';
    import { Loader } from '@aws-amplify/ui-react';
    
    export const App = () => {
      return <Loader />;
    };

    main.js size
    | Before | After |
    | ----------- | ----------- |
    | 1.7M | 161.1k |

Patch Changes

@aws-amplify/ui-angular@2.3.3

Patch Changes

@aws-amplify/ui-vue@2.3.3

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 41b6a18 to 2849fa5 Compare March 29, 2022 16:45
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2849fa5 to 26c0025 Compare March 29, 2022 23:18
@0618 0618 added the run-tests Adding this label will trigger tests to run label Mar 29, 2022
@github-actions github-actions bot removed the run-tests Adding this label will trigger tests to run label Mar 29, 2022
@0618 0618 temporarily deployed to ci March 29, 2022 23:31 Inactive
@0618 0618 temporarily deployed to ci March 29, 2022 23:31 Inactive
@0618 0618 temporarily deployed to ci March 29, 2022 23:31 Inactive
@0618 0618 temporarily deployed to ci March 29, 2022 23:31 Inactive
Copy link
Contributor

@reesscot reesscot left a comment

Choose a reason for hiding this comment

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

LGTM

@0618 0618 merged commit dcea62f into main Mar 30, 2022
@0618 0618 deleted the changeset-release/main branch March 30, 2022 00:14
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.

2 participants