on master help sign in
next.config: use process pkg instead of stubbing fallback
commitd40e254d4cb507bd6527e83bd8c04e9f5079eeac authorMatilde Park <matilde.park@urbit.org> dateTue 19 Apr 2022, 22:30 (5 years ago) parent468641f
3 files changed+15−1
next.config.js−1 package-lock.json+14 package.json+1
next.config.js−1
@@ -49,7 +49,6 @@ module.exports = withTM({
4949 if (!isServer) {
5050 config.resolve.fallback = {
5151 fs: false,
52− process: false,
5352 path: "path-browserify",
5453 events: false,
5554 };
package-lock.json+14
@@ -23,6 +23,7 @@
2323 "next": "^12.1.5",
2424 "path-browserify": "^1.0.1",
2525 "prismjs": "^1.25.0",
26+ "process": "^0.11.10",
2627 "react": "^17.0.0",
2728 "react-dom": "^17.0.0",
2829 "react-hotkeys": "^2.0.0",
@@ -3324,6 +3325,14 @@
33243325 "node": ">=6"
33253326 }
33263327 },
3328+ "node_modules/process": {
3329+ "version": "0.11.10",
3330+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
3331+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",
3332+ "engines": {
3333+ "node": ">= 0.6.0"
3334+ }
3335+ },
33273336 "node_modules/prop-types": {
33283337 "version": "15.8.1",
33293338 "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
@@ -7179,6 +7188,11 @@
71797188 "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz",
71807189 "integrity": "sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw=="
71817190 },
7191+ "process": {
7192+ "version": "0.11.10",
7193+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
7194+ "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI="
7195+ },
71827196 "prop-types": {
71837197 "version": "15.8.1",
71847198 "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
package.json+1
@@ -27,6 +27,7 @@
2727 "next": "^12.1.5",
2828 "path-browserify": "^1.0.1",
2929 "prismjs": "^1.25.0",
30+ "process": "^0.11.10",
3031 "react": "^17.0.0",
3132 "react-dom": "^17.0.0",
3233 "react-hotkeys": "^2.0.0",