Skip to content

Commit 822da47

Browse files
committed
fix setup custom
1 parent fa1db98 commit 822da47

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

epicshop/setup-custom.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ import {
44
isProblemApp,
55
setPlayground,
66
} from '@epic-web/workshop-utils/apps.server'
7-
import { getWatcher } from '@epic-web/workshop-utils/change-tracker.server'
87
import fsExtra from 'fs-extra'
98

10-
// getApps expects this env var
11-
process.env.NODE_ENV = 'development'
12-
139
const allApps = await getApps()
1410
const problemApps = allApps.filter(isProblemApp)
1511

@@ -33,5 +29,3 @@ if (!process.env.SKIP_PLAYGROUND) {
3329
)
3430
}
3531
}
36-
37-
getWatcher().close()

epicshop/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
"include": ["@epic-web/config/reset.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
3-
"extends": ["@epic-web/config/typescript"]
3+
"extends": ["@epic-web/config/typescript"],
4+
"compilerOptions": {
5+
"allowJs": true
6+
}
47
}

0 commit comments

Comments
 (0)