Skip to content

Add webpack 5 support for treeshaking#2448

Merged
PorterNan merged 7 commits intomainfrom
jinan/upgrade-treeshaking-to-webpack5
Oct 31, 2022
Merged

Add webpack 5 support for treeshaking#2448
PorterNan merged 7 commits intomainfrom
jinan/upgrade-treeshaking-to-webpack5

Conversation

@PorterNan
Copy link
Copy Markdown
Contributor

What

Add webpack 5 support for treeshaking

module.issue is the first value of module.reasons, which follows the same logic of findEntry

Why

How Tested

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 27, 2022

Calling bundle size is not changed.

  • Current size: 5325208
  • Base size: 5325208
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 27, 2022

Chat bundle size is not changed.

  • Current size: 5442184
  • Base size: 5442184
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 27, 2022

CallWithChat bundle size is not changed.

  • Current size: 5712748
  • Base size: 5712748
  • Diff size: 0

@PorterNan PorterNan enabled auto-merge (squash) October 31, 2022 22:57
@PorterNan PorterNan merged commit 7798a6c into main Oct 31, 2022
@PorterNan PorterNan deleted the jinan/upgrade-treeshaking-to-webpack5 branch October 31, 2022 23:11
carocao-msft pushed a commit that referenced this pull request Oct 31, 2022
* Add webpack 5 support for treeshaking

* Remove webpack plugin

* Use not deprecated api

Co-authored-by: Nan Jiang <jinan@microsoft.com>
carocao-msft added a commit that referenced this pull request Nov 2, 2022
* add drawer to mobile

* Change files

* add drawer to mobile

* Change files

* Require webpack 5 in our lib. Add minimum webpack and typescript versions to storybook. Update `html-to-parser` version (#2428)

Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>

* Fix `dtmfDialpadPlaceHolderText` spelling and restrict it to beta builds (#2439)

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* pr fix

* pr change

* add modal to config screen

* pr change

* Cheery-pick to main: Stable release branch hotfix: Fix camera turning back on when turned off on connecting screen (#2458) (#2460)

* Revert breaking API change in `CallEndedListener` callback (#2464)

* Only export `DeclarativeCallAgent` in beta builds (#2469)

* Chat adapter error update (#2471)

* add error emitter to typing indicator

* add proxy in stateful client for typingIndicator

* add test

* Change files

* fix name

* Update @internal-react-composites-7cc319fa-75a7-4732-b1fb-a9425738de8d.json

* update composite test script to build first

* add test to stateful suite

* fix spelling...

* remove auto build

* 1.4.0 pre-release branch (#2432)

* pr change

* pr fix

* Add webpack 5 support for treeshaking (#2448)

* Add webpack 5 support for treeshaking

* Remove webpack plugin

* Use not deprecated api

Co-authored-by: Nan Jiang <jinan@microsoft.com>

* pr fix

* Change files

* build fix

Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com>
Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>
Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Porter Nan <jiangnanhello@live.com>
Co-authored-by: Nan Jiang <jinan@microsoft.com>
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.

7 participants