Skip to content

Commit 7f859b7

Browse files
committed
fix: start script (again2)
1 parent 542d30e commit 7f859b7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

packages/example/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
"keywords": [],
1616
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
1717
"license": "MIT",
18-
"devDependencies": {
18+
"dependencies": {
19+
"@testing-library/dom": "^8.20.0",
1920
"@kentcdodds/workshop-app": "*",
2021
"@testing-library/react": "^13.4.0",
2122
"@testing-library/user-event": "^14.4.3",
23+
"assert": "^2.0.0",
2224
"tsx": "^3.12.2"
2325
},
2426
"eslintIgnore": [
@@ -30,9 +32,5 @@
3032
"workspaces": [
3133
"exercises/*/*",
3234
"example/*"
33-
],
34-
"dependencies": {
35-
"@testing-library/dom": "^8.20.0",
36-
"assert": "^2.0.0"
37-
}
35+
]
3836
}

packages/workshop-app/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if (process.env.NODE_ENV === 'production') {
2-
require('./server-build')
2+
require('./build/server')
33
} else {
44
if (!global.inspectorOpen) {
55
global.inspectorOpen = true

0 commit comments

Comments
 (0)