Skip to content

Commit

Permalink
chore(deps): replace rollup-plugin-polyfill-node with rollup-plugin-n…
Browse files Browse the repository at this point in the history
…ode-builtins

We're getting Emitter is not a constructor errors in mud-lib, which might be an issue with the
rollup-plugin-node-builtins package. rollup/rollup#2881 suggests that
package should be replaced with rollup-plugin-polyfill-node
  • Loading branch information
MattTennison committed Nov 12, 2021
1 parent 8a3ac33 commit 232e44e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 595 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -49,7 +49,7 @@
"react": "16.13.1",
"react-dom": "16.13.1",
"rollup": "^2.55.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-polyfill-node": "^0.7.0",
"semantic-release": "^17.4.4",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
Expand Down Expand Up @@ -82,9 +82,9 @@
"url": "https://github.com/Multi-User-Domain/mud-lib.git"
},
"dependencies": {
"solid-auth-client": "^2.5.6",
"@inrupt/lit-generated-vocab-common": "^0.3.11",
"@inrupt/solid-client": "^0.4.0",
"@inrupt/solid-ui-react": "^1.2.1"
"@inrupt/solid-ui-react": "^1.2.1",
"solid-auth-client": "^2.5.6"
}
}
4 changes: 2 additions & 2 deletions rollup.config.js
Expand Up @@ -4,12 +4,12 @@ import babel from "@rollup/plugin-babel";
import replace from "@rollup/plugin-replace";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import builtins from "rollup-plugin-node-builtins";
import polyfillNode from "rollup-plugin-polyfill-node";

export default {
input: "src/index.ts",
plugins: [
builtins(),
polyfillNode(),
typescript({
tsconfig: "./tsconfig.json",
exclude: ["node_modules/**"],
Expand Down

0 comments on commit 232e44e

Please sign in to comment.