Skip to content

Commit a947680

Browse files
fix renderer dev server
1 parent bc00ae0 commit a947680

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

packages/common/config/webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ const devConfig = {
1515
filename: '[name].[hash].js'
1616
},
1717
devtool: 'eval-source-map',
18+
resolve: {
19+
fallback: {
20+
process: 'process/browser.js',
21+
},
22+
},
1823
plugins: [
1924
htmlPlugin,
2025
new webpack.ProvidePlugin({
21-
process: 'process/browser'
26+
process: 'process/browser.js'
2227
})
2328
],
2429
module: {

packages/react-form-renderer/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"forms",
2828
"javascript"
2929
],
30-
"devDependencies": {},
30+
"devDependencies": {
31+
"process": "^0.11.10"
32+
},
3133
"dependencies": {
3234
"final-form": "^4.20.4",
3335
"final-form-arrays": "^3.0.2",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16565,6 +16565,11 @@ process-nextick-args@~2.0.0:
1656516565
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
1656616566
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
1656716567

16568+
process@^0.11.10:
16569+
version "0.11.10"
16570+
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
16571+
integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==
16572+
1656816573
progress@^2.0.0, progress@^2.0.3:
1656916574
version "2.0.3"
1657016575
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"

0 commit comments

Comments
 (0)