Skip to content

Commit

Permalink
Noahdarveau/global polyfill (#2707)
Browse files Browse the repository at this point in the history
* added global polyfill
  • Loading branch information
noahdarveau-MSFT authored Feb 3, 2025
1 parent 3d6ab5d commit 6431e5c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Added a `global` polyfill",
"packageName": "@microsoft/teams-js",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"rimraf": "^5.0.7",
"rollup": "^4.24.4",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"shx": "^0.3.4",
"size-limit": "^11.1.6",
"style-loader": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/teams-js/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import replace from '@rollup/plugin-replace';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import { readFileSync } from 'fs';
import nodePolyfills from 'rollup-plugin-node-polyfills';
import nodePolyfills from 'rollup-plugin-polyfill-node';

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

Expand Down
69 changes: 27 additions & 42 deletions pnpm-lock.yaml

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

0 comments on commit 6431e5c

Please sign in to comment.