Skip to content

Commit 4d7dacc

Browse files
noahdarveau/polyfill fix (#2646)
* changed over to new polyfill plugin
1 parent 7e9582d commit 4d7dacc

File tree

4 files changed

+51
-29
lines changed

4 files changed

+51
-29
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Resolved an issue with non-necessary polyfills being included",
4+
"packageName": "@microsoft/teams-js",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"prettier": "^3.3.2",
8787
"rimraf": "^5.0.7",
8888
"rollup": "^4.24.4",
89-
"rollup-plugin-polyfill-node": "^0.13.0",
89+
"rollup-plugin-node-polyfills": "^0.2.1",
9090
"shx": "^0.3.4",
9191
"style-loader": "^3.3.4",
9292
"ts-jest": "^29.1.2",

packages/teams-js/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import replace from '@rollup/plugin-replace';
77
import terser from '@rollup/plugin-terser';
88
import typescript from '@rollup/plugin-typescript';
99
import { readFileSync } from 'fs';
10-
import nodePolyfills from 'rollup-plugin-polyfill-node';
10+
import nodePolyfills from 'rollup-plugin-node-polyfills';
1111

1212
const packageJson = JSON.parse(readFileSync('./package.json', 'utf-8'));
1313

pnpm-lock.yaml

Lines changed: 42 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)